Ask Your Question
0

Rectification from given lens parameters

asked 2017-02-24 07:07:27 -0600

It is possible to get the camera and lens parameters for rectification empirically using a chessboard but: It is possible get the rectification parameters from factory lens parameter? If so, what is the relationship between rectification parameters and typical optical parameters provided?

For example from FLIR TAU 2 19mm factory parameters I know a lot of its optics.

19 mm
f/1.25

Tau 640
(17μ 640×512)
FoV iFoV    32° x 26°
0.895 mr

Min Focus Distance  15.3cm

Hyperfocal Distance 9.5m

Hyperfocal Depth of Field   4.8m

 Lens Mount

Length  19mm

Diameter    29mm

How to use here the opencv method "fisheye-undistortpoints" ?

//! undistorts 2D points using fisheye model void undistortPoints(InputArray distorted, OutputArray undistorted, InputArray K, InputArray D, InputArray R = noArray(), InputArray P = noArray());

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
0

answered 2017-02-24 19:15:59 -0600

Tetragramm gravatar image

You can use this to generate the camera matrix, but it does not include distortion or rectification. Rectification would be for stereo cameras, which this does not appear to be.

edit flag offensive delete link more

Comments

Thanks. Well my goal is correcting the lens effect distortion. I have some barrel-type distortion in some images I wondered if I could (I do not think so) get the required information to undistort that efect from the factory parameters without doing a calibration. But I think I cannot with these parameters. Do you agree with that?

Pablo Iñigo Blasco gravatar imagePablo Iñigo Blasco ( 2017-03-02 05:21:07 -0600 )edit

That is correct. These parameters do not contain any information on the distortion.

Tetragramm gravatar imageTetragramm ( 2017-03-02 18:30:16 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2017-02-24 07:07:27 -0600

Seen: 204 times

Last updated: Feb 24 '17