rectifyStereoImages is cutting off too much of my image
조회 수: 3 (최근 30일)
이전 댓글 표시
Hi all,
I am working on a project where we are using Stereo Thermal Cameras with a narrow horizontal field of view to detect objects in a particular region of interest. After calculating and implementing the proper baselines and angles for our camera positions we then take images while holding a 6x5 chessboard for calibration. We are then using the Stereo Calibrator App to compute the stereo parameters that we desire.
For the most part we are able to achieve exact measurements with a high accuracy, however when we rectify the images in the application a large part of the image is being cut from both the left and right of each image.
Unfortunately, due to the nature of the project I am unable to share the images, however I was seeking some advice on how to approach this problem.
So far we have tried inputting intrinsic matrices, inputting radial distortion values, computing skew, and computing tangential distortion. Our Images are of various areas of the shared portion of the scene including multiple orientations of the board, however they are fairly close to the cameras compared to the area we are trying to monitor. For example, we are looking to monitor an area about 700Ft away from the cameras, however our calibration images are being taken at about 300Ft away due to physical and logistical limitations.
My thoughts are that we might need more images, however I don't think we can have many more variations in orientation/position. Could the distance from the cameras affect our rectification, even if the board is fully in both shared scenes? Also, when the cameraParameters are output to a Struct it provides us with a field for "RectificationParams" which includes bounds on X and Y. Does it make sense to edit those bounds in order to get more of the scene? (I doubt that is the correct approach).
댓글 수: 0
답변 (1개)
Dima Lisin
2016년 5월 12일
Set 'OutputView' to 'full', when you call rectifyStereoImages.
댓글 수: 2
Dima Lisin
2016년 5월 12일
The app does not prevent you from using 'full' for 'OutputView'. Once you export the stereoParameters object from the app, you can call rectifyStereoImages any way you like.
참고 항목
카테고리
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!