Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Well, you'll need to change the camera matrix at least, but you can probably do that with a formula. The distortion depends on the lens. Try calibrating it once at the near and once at the far focal length to see how different they are. That will tell you how wrong it may be.

For the second part you want initUndistortRectifyMap, and then you can subtract off the pixel locations to get the distance of how far the pixels moved.