Step 2 - Calibration

 

Calibration of a parabolic central catadioptric sensor using a minimum of 3 line images.

 

function [H,Calib,img_final] = ParaCatCalibration(X,Y,img,SC)

 

X and Y are mxN matrices with the image coordinates of points lying on N paracatadioptric line projections, img is the calibration image and SC are the column indices of the conics that will be used (for example SC = [1 3 4] means to use lines 1, 3 and 4).

 

H is the calibration matrix, Calib is a 1x5 vector with the aspect ratio, focal length, skew and image center, and img_final is the final control image.

 

 

 

To use these function, you need to load the data from the Graphic user interface. For example: load 'filenamePoints.mat'

 

After these, you just need to call the function.

 

Calibration of a generic central catadioptric sensor using a minimum of 3 line images.

 

This function can be used to calibrate hyperbolic sensors.

 

If you know in advance that the sensor is parabolic please use function ParaCatCalibration.m. Keep in mind that due to the expensive and complex   non-linear optimization the convergence can be slow and unstable

 

function [H,Calib,img_final] = GeneralCatCalibration(X,Y,img,SC)

 

X and Y are mxN matrices with the image coordinates of points lying on N paracatadioptric line projections, img is the calibration image and SC are the column indices of the conics that will be used (for example SC = [1 3 4] ).

 

H is the calibration matrix, Calib is a 1x5 vector with the aspect ratio, focal length, skew, image center and qsi (mirror shape). img_final is the final control image

 

To use these function, you need to load the data from the Graphic user interface and call the function.