-->

Rearranging pixels on a video in realtime in Quart

2019-08-15 19:43发布

问题:

Does anyone know a good resource related to remapping the pixels in a video in realtime using Quartz Composer? I've read through the programming guide, but it doesn't have all the information I need...thanks!

回答1:

What kind of "remapping" do you have in mind?

If you have a mathematical expression for, given the location of an output pixel, determining which input pixel(s) combine to form that output pixel, then Core Image is probably what you're looking for. Check out the Core Image Kernel patch --- feed your image data through that patch, then go to its Settings panel to customize the pixel shader.