Rearranging pixels on a video in realtime in Quart

2019-08-15 19:06发布

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条回答
淡お忘
2楼-- · 2019-08-15 19:38

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.

查看更多
登录 后发表回答