I’m working on a project including video tracking and I’m trying to improve the framerate. I figured out that the bottleneck of my application is the warping of the incoming frames. I’m calling cvWarpPerspectiveQMatrix() once, after calibrating, and then for every frame I’m calling cvWarpPerspective(). I read somewhere on the forum that it would be more efficient to only map the point we’re interested in, which makes sense, but I can’t get it to work. So I already have a 3x3 perspective matrix based on a calibration, but I don’t know how to use that matrix to only undistort the points I’m detecting.
Any help is very much appreciated.