Prosilica Camera calibration error with binning
Hi all,
I have a camera Prosilica GC2450, the resolution is 2448 * 2050. I want to use the images for LSD-SLAM. LSD-SLAM only accept the resolution of a multiple of 16. Then, I try to caliburate Prosilica GC2450 using camera_calibration (mono camera) with resolution 640 * 480.
Calibrate and Save processes are success. But, following error occured in Commit process.
[ERROR] [1496236878.801921996]: Camera_info resolution 640x480 does not match current video setting, camera running at resolution 1224x1025.
The setting of rqt_reconfigure are as follows.
binning_x:2
binning_y:2
width:1280
height:960
commands are follows.
$roscore
$roslaunch prosilica.launch
$rosrun rqt_reconfigure rqt_reconfigure
$rosrun camera_calibration cameracalibrator.py --size 8x6 --square 0.081 image:=/prosilica/image_raw camera:=/prosilica
I can get 640*480 images in Save process. Is there any issues with setting of caliburation?
Thanks
Asked by meglab on 2017-06-06 05:03:17 UTC
Comments
It would be useful to cut and paste the values the calibration came up with- either the stdout from cameracalibrator.py or the file it saved (probably to a tgz in /tmp). And a single camera_info (rostopic echo /foo/camera_info).
Asked by lucasw on 2017-06-06 16:05:16 UTC
It looks like different nodes/code-paths are interpreting differently what binning and width and height controls are actually doing- camera driver used binning to take 2448 x 2050 down to 1224 x 1025, another thinks 1280x960 bin xy 2 -> 640 x 480
Asked by lucasw on 2017-06-06 16:17:30 UTC