RGB and video circular crop
Hi. I'm a newbie. I'm trying to get something like this: http://it.wikipedia.org/wiki/File:RGB.svg
The 3 circles (Red, green, blue) should be replaced with the 3 RGB planes of a single source(realtime webcam). I could use jit.unpack to split the ARGB planes, and then jit.rota or something else, to apply an offset to each plane. But I don't know how to go on.
Is it possibile to apply a circular crop to each RGB plane?
you can use jit.alphablend to mask/crop out a circular area of a matrix.
post a patch showing what you've tried, and we can offer more suggestions.
Thanks for the answer.
Can I create 3 circular areas with smooth edges, one for each matrix plane, using alphablend?
Here it is. Very basic...
in this case i would create masks with something like jit.lcd, and then simply use jit.op @op * to crop out each color plane. take a look at this patch:
to crop the video u can use this prog - http://geovid.com/VidCrop_PRO/, nice tool!
there is another great tool for video cropping http://www.geovid.com/VidCrop/, try it