How to define values in Calibration File for FOV camera model

asked 2017-07-03 07:57:23 -0500

Atul Divekar gravatar image

Hi, I am using DSO package. In DSO there is a camera.txt file in that the format is (Calibration File for FOV camera model) given below :

FOV fx fy cx cy omega in_width in_height "crop" / "full" / "fx fy cx cy 0" out_width out_height

Also I saw in mono_dataset there is example of camera.txt file they are using as :

0.349153000000000 0.436593000000000 0.493140000000000 0.499021000000000 0.933271000000000 1280 1024 0.4 0.53 0.5 0.5 0 640 480

Now my Camera Calibrated data is : width : 1280 height : 960 camera matrix : [ 601.571920 0.000000 615.918604 0.000000 582.719805 363.810622 0.000000 0.000000 1.000000 ] Here fx : 601.571920 , fy : 582.719805, cx : 615.918604, cy : 363.810622, distortion : [ -0.272383 0.046325 0.001219 0.004647 0.000000] rectification : [1.0 0.0 0.0 0.0 1.0 0.0 0.0 0.0 1.0 ] projection : [412.205078 0.0 616.977482 0.0 0.0 440.144897 316.117456 0.0 0.0 0.0 1.0 0.0 ]

My question is How to modify camera.txt file using above my camera calibration information because I am confused in fx , fy, cx and cy. Also I don't understand What is out_width, out_height and in_width, in_height in camera.txt file. Please give some solution. Thanks in advanced.

edit retag flag offensive close merge delete