doing pixel searching on VOP COPs

   1658   2   1
User Avatar
Member
1799 posts
Joined: Oct. 2010
Offline
hi, I was wondering how to go about finding the closest pixel to another pixel on a VOP COP. What I am trying to do is, for every pixel on which alpha < 0.5, find the closest pixel that has alpha > 0.5, then copy that pixel's RGB value. I cannot seem to find the operator needed to do those kinds of searches

Any help would be greatly appreciated!

Thanks!
-G
User Avatar
Member
330 posts
Joined: July 2007
Offline
hi ,

if what you describe , can be done with SOP ‘tools’ , i wd suggest :

> create a SOP network inside your comp .

> build a ‘video frame’ with points corresponding to pixels from COP image .

> connect geo points' attributes with image pixels .

> get what you want by speaking to data in SOP's ‘language’ .

> send data back to your COP's image .


.. well , theoretically .. and hoping the frames arent 4K .. and sequence isnt too loooong .
except the things that cannot be seen , nothing is like it seems .
User Avatar
Member
1799 posts
Joined: Oct. 2010
Offline
This idea is incredibly clever then I can use pointclouds to do filtering, radius, etc. Awesome!

how would you bring the data back to COPs? With a VOP COP getattr?
-G
  • Quick Links