How to calibrating and register two cameras of different resolutions?
6 次查看(过去 30 天)
显示 更早的评论
Hi everyone, I'm experimenting on multi-modal imaging. We have two cameras, one IR and one RGB. I need to calibrate them and register their images with respect to each other, (i.e., to map the pixels in one to the other). The problem is these cameras are not the same resolution (they simply can't exist in the same resolution because of the technology, price and everything, so there's no way we can get an IR camera with high resolution). Now of course matlab's stereoCameraCalibrator only works if the cameras have same resolution. I want to avoid tricks like resizing images since it would result in error in the calibration parameters (the aspect ratios are different and one shouldn't crop images for calibration). Should I then calibrate them separately and somehow match their extrinsic parameters? Would that really work? (because then the correspondence btw. pair of images of the same scene captured by each of the cameras is not gonna be taken into account). I appreciate if anyone could help me out figuring how to do this. Thanks and best wishes. P.S: In case you wonder, the checkerboard is perfectly visible in both cameras.
0 个评论
采纳的回答
Dima Lisin
2014-11-26
You may be able to calibrate your cameras using the estimateCameraParameters function. It takes detected image points from each camera, and it does not care what the image sizes are. Unfortunately, the rectifyStereoImages function only supports images of the same size. You can still use undistortImage to undistort the two image individually, but you would have to write your own code to do the rectification.
更多回答(1 个)
Shida
2016-2-10
1 个评论
Yash Rathore
2017-3-5
Hey Shida, I am trying to do a similar thing and kind of stuck right now. I don't wish to ask stupid little things over here, so can I please contact you on your private email address or something? Thanks
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Camera Calibration 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!