Search
This is an old revision of the document!
intrinsics.py
intrinsics.calibrate
cv2.findChessboardCorners
cv2.cornerSubPix
cv2.calibrateCamera
intrinsics.create_camera_matrix
intrinsics.camera_field_of_view
intrinsics.remap
cv2.initUndistortRectifyMap
cv2.remap
python multimodal_dataset.py --help python intrinsics.py --help
python multimodal_dataset.py download python multimodal_dataset.py calibrate
data/multimodal_ir_intrinsics.json
data/multimodal_left_intrinsics.json
data/multimodal_right_intrinsics.json
python intrinsics.py calibrate intrinsics.json --pattern COLS ROWS --unit UNIT -- IMAGE [IMAGE ...] python intrinsics.py calibrate intrinsics.json --pattern COLS ROWS --unit X_UNIT Y_UNIT Z_UNIT -- IMAGE [IMAGE ...] python intrinsics.py calibrate data/multimodal_left_intrinsics.json --pattern 8 9 --unit 0.061 0.047 0.0 -- data/calibration_sequence_I/*Left.ppm python intrinsics.py calibrate data/multimodal_right_intrinsics.json --pattern 8 9 --unit 0.061 0.047 0.0 -- data/calibration_sequence_I/*Right.ppm
python multimodal_dataset.py calibrate
python intrinsics.py remap intrinsics.json --fov FOV --size ROWS COLS IMAGE [IMAGE ...] python intrinsics.py remap data/multimodal_ir_intrinsics.json --fov 40 --size 426 534 data/calibration_sequence_I/*IR1_crop.bmp
python intrinsics.py remap intrinsics.json --alpha ALPHA IMAGE [IMAGE ...] python intrinsics.py remap data/multimodal_left_intrinsics.json --alpha 0 data/calibration_sequence_I/*Left.ppm python intrinsics.py remap data/multimodal_left_intrinsics.json --alpha 1 data/calibration_sequence_I/*Left.ppm
--alpha 0
--alpha 1
Expected re-projection errors (1st output of cv2.calibrateCamera) for the multimodal dataset are approximatelly:
Original and undistorted images from the left camera should look similarly to these:
[1] Barrera F., Lumbreras F., Sappa A. Multimodal Stereo Vision System: 3D Data Extraction and Algorithm Evaluation. In IEEE Journal of Selected Topics in Signal Processing, Vol. 6, No. 5, September 2012, pp. 437–446.