Fisheye distortion correction using Omnidir namespace - change of perspective

asked 2017-04-24 10:30:31 -0500

JackGold1 gravatar image

I have been able to correctly calibrate a 180 degrees FOV camera (fisheye), i.e. I have been able to extract the distortion and camera matrices using the omnidirectional model, so I used the omnidir::calibrate() function to extract the matrices and used the omnidir::undistortImage() function for undistorting the images.

Everything works well, but I would like to change the angle at which the undistort is done, i.e. the angle at which the camera is viewing when the image is undistorted. To get a better idea of what I am after please check this link: (4th image down - looking right by 40 degrees) something similar to that. I have tried changing the cx value in the Knew matrix but that doesn't have the desired effect.

Any help would be greatly appreciated.

edit retag flag offensive close merge delete


@JackGold1 Were you able to figure out how to change perspective ? I need to do it for my application as well.

Thanks !

kunal10 gravatar imagekunal10 ( 2017-06-13 15:52:46 -0500 )edit