我正在开发一款Android应用程序,通过检测它来瘦脸或变胖.目前,我已经通过使用薄板样条算法实现了这一点. http://ipwithopencv.blogspot.com.tr/2010/01/thin-plate-spline-example.html
问题是算法对我来说不够快,所以我决定将它改为OpenGL.经过一些研究,我发现查找表纹理是最好的选择.我有一组源图像控制点和它们的新位置用于扭曲效果.我应该如何创建查找表纹理以获得扭曲效果?
opengl-es image-processing glsl lookup-tables
glsl ×1
image-processing ×1
lookup-tables ×1
opengl-es ×1