transferring CHOPs data to COPs image

   3216   2   2
User Avatar
Member
132 posts
Joined: July 2007
Offline
Is there a way to move data from CHOPs back into COPs, if, say, you've processed it there?
In particular, I've got image data converted into channel data via the Image CHOP. I mess with it, now want to save out an image of that data (or at least see what the pixels might look like).

I've seen some discussion of doing a CHOPs-based blur effect but haven't been able to piece it all together.
Thanks for any ideas.
User Avatar
Member
1390 posts
Joined: July 2005
Offline
Pixel COP with:
chop(“/path/to/my/chop/chan1”) expressions in RGB field respectively. Could be slow though
There is also ch() function in VEX with which you can evaluate channels and Chops but Help says it's not avaiable in COP context..? This doesn't have to be very correct actually. Worth to try.

EDIT: It seems to be avaiable there. It's not tagged with COPs but they show example in COPs, so…


cheers,
sy.
User Avatar
Member
401 posts
Joined:
Offline
or feed the data into sops and render an image of a grid with colored primitives.
this is not a science fair.
  • Quick Links