Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

As far as I am aware there is only the cv::warpAffine, which rotates an entire matrix according to a certain warp matrix. This matrix can be calculated using cv::getAffineTransform.

If you are looking for fast warping of source triangles to destination triangles, the best option is probably to use something like opengl, this should go much much faster. You could also use cv::warpAffine but this is somewhat of an overkill. Or you could try cv::gpu::warpAffine but I believe warping triangles through opengl would still be better.

Good luck, I'm trying to do a similar project at the moment :) (AAM for face recognition). If you found a quick way, let me know ;)

As far as I am aware there is only the cv::warpAffine, which rotates warps an entire matrix according to a certain warp matrix. This matrix can be calculated using cv::getAffineTransform.

If you are looking for fast warping of source triangles to destination triangles, the best option is probably to use something like opengl, this should go much much faster. You could also use cv::warpAffine but this is somewhat of an overkill. Or you could try cv::gpu::warpAffine but I believe warping triangles through opengl would still be better.

Good luck, I'm trying to do a similar project at the moment :) (AAM for face recognition). If you found a quick way, let me know ;)