Rearranging pixels on a video in realtime in Quartz Composer

╄→尐↘猪︶ㄣ 提交于 2019-12-11 06:14:05

问题


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.



来源:https://stackoverflow.com/questions/6297501/rearranging-pixels-on-a-video-in-realtime-in-quartz-composer

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!