Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Hi,

Thanks for your answer. The question was based on the second link.

I copied the output and saved it as .ini file as suggested. When I try to :

rosrun camera_calibration_parsers convert calibration.ini calibration.yml

It throws me: I am not sure what does it mean by camera model. Is something missing ?

The calibration.ini looks like this : D = [-0.014068252803079058, 0.09765723336090223, 0.0016727251024652406, 0.0011857657616042958, 0.0] K = [647.9408898308614, 0.0, 322.30166498603154, 0.0, 647.8185078156599, 264.9810384915591, 0.0, 0.0, 1.0] R = [1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 1.0] P = [652.689697265625, 0.0, 322.3815322161536, 0.0, 0.0, 652.4700317382812, 264.7292386570698, 0.0, 0.0, 0.0, 1.0, 0.0]

oST version 5.0 parameters

[image]

width 640

height 480

[narrow_stereo/left]

camera matrix 647.940890 0.000000 322.301665 0.000000 647.818508 264.981038 0.000000 0.000000 1.

Hi,

Thanks for your answer. The question was based on the second link.

I copied the output and saved it as .ini file as suggested. When I try to :

rosrun camera_calibration_parsers convert calibration.ini calibration.yml

It throws me: I am not sure what does it mean by camera model. Is something missing ?

The calibration.ini looks like this :

D =  [-0.014068252803079058, 0.09765723336090223, 0.0016727251024652406, 0.0011857657616042958, 0.0]

K = [647.9408898308614, 0.0, 322.30166498603154, 0.0, 647.8185078156599, 264.9810384915591, 0.0, 0.0, 1.0] R = [1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 1.0] P = [652.689697265625, 0.0, 322.3815322161536, 0.0, 0.0, 652.4700317382812, 264.7292386570698, 0.0, 0.0, 0.0, 1.0, 0.0]

oST version 5.0 parameters

[image]

width 640

height 480

[narrow_stereo/left]

camera matrix 647.940890 0.000000 322.301665 0.000000 647.818508 264.981038 0.000000 0.000000 1.

1.000000

distortion -0.014068 0.097657 0.001673 0.001186 0.000000

rectification 1.000000 0.000000 0.000000 0.000000 1.000000 0.000000 0.000000 0.000000 1.000000

projection 652.689697 0.000000 322.381532 0.000000 0.000000 652.470032 264.729239 0.000000 0.000000 0.000000 1.000000 0.000000

Hi,

Thanks for your answer. The question was based on the second link.

I copied the output and saved it as .ini file as suggested. When I try to :

rosrun camera_calibration_parsers convert calibration.ini calibration.yml

It throws me: I am not sure what does it mean by camera model. Is something missing ?

 D =  [-0.014068252803079058, 0.09765723336090223, 0.0016727251024652406, 0.0011857657616042958, 0.0]

K = [647.9408898308614, 0.0, 322.30166498603154, 0.0, 647.8185078156599, 264.9810384915591, 0.0, 0.0, 1.0] R = [1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 1.0] P = [652.689697265625, 0.0, 322.3815322161536, 0.0, 0.0, 652.4700317382812, 264.7292386570698, 0.0, 0.0, 0.0, 1.0, 0.0]

0.0] # oST version 5.0 parameters

parameters

[image]

[image] width 640

width 640

height 480 [narrow_stereo/left]

height 480

[narrow_stereo/left]

camera matrix 647.940890 0.000000 322.301665 0.000000 647.818508 264.981038 0.000000 0.000000 1.000000

1.000000

distortion -0.014068 0.097657 0.001673 0.001186 0.000000

0.000000

rectification 1.000000 0.000000 0.000000 0.000000 1.000000 0.000000 0.000000 0.000000 1.000000

1.000000

projection 652.689697 0.000000 322.381532 0.000000 0.000000 652.470032 264.729239 0.000000 0.000000 0.000000 1.000000 0.000000

0.000000