Error after computing 3 coefficients of Radial Distortion for stereo Calibration

3 ビュー (過去 30 日間)
Meghana Dinesh
Meghana Dinesh 2015 年 10 月 19 日
編集済み: Dima Lisin 2015 年 11 月 3 日
When I performed stereo calibration by selecting the radio button 3 Coefficients for Radial Distortion, I was not able to view the rectified images. I got the following error:
My question is:
  1. Computing 3 coefficients for Radial Distortion along with Skew and Tangential Distortion increases Calibration accuracy, right?
  2. Why aren't the rectified images seen when I compute 3 Radial Distortion Coefficients? The images aren't rectified.
I have read this link, which says " Typically, two coefficients are sufficient for calibration. For severe distortion, such as in wide-angle lenses, you can select 3 coefficients to include k3."

採用された回答

Dima Lisin
Dima Lisin 2015 年 10 月 19 日
From looking at your images, I would say that 2 coefficients should work. Using 3 coefficients does not always help. It adds an extra degree of freedom to the camera model, which may cause the optimization to become unstable.
The reason that rectification fails in this case, is that undistorting these images folds them upon themselves, and the function cannot determine the correct size of the output image. If you want to see what is happening, try exporting the stereoParameters object, and calling the rectifyStereoImages function with the 'OutputView' parameter set to 'full'.
  5 件のコメント
Meghana Dinesh
Meghana Dinesh 2015 年 11 月 3 日
編集済み: Meghana Dinesh 2015 年 11 月 3 日
Hi Dima, I am using R2015b. I appreciate that, thank-you!
(Sorry, I didn't notice your comment. Is there a way I can get notifications of comments on my question?)
Dima Lisin
Dima Lisin 2015 年 11 月 3 日
編集済み: Dima Lisin 2015 年 11 月 3 日
There is a patch available for R2015b, which fixes this problem.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeCamera Calibration についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by