The calibrator app says the patterns are "too similar" even if they are not
조회 수: 66 (최근 30일)
이전 댓글 표시
I am trying to calibrate some images with a checkerbard calibration and the (single) Camera Calibrator app, but the app claims the patterns are "too similar" even if they are not. I know that they aren't too smilar because I have a specular setting with another camera that works. Moreover, if you apply some sort of transformation to the images (sometimes flipping them upside down, sometimes mirroring them) the app works fine and calibrate.
The images can be downloaded from this repo. cam1 works fine. cam2 doesn't work. cam2Rotated works fine.
Does anyone have an idea of what is wrong with these images?
Thanks for your help!
댓글 수: 2
채택된 답변
추가 답변 (1개)
Matt J
2025년 12월 12일 23:54
편집: Matt J
2025년 12월 12일 23:57
Your cam2 images are of poor quality. Corner detection done in isolation fails pretty badly for some of them (see below). Did you visually inspect all 44 images to verify corner detection success by the app? Regardless, I think you need to improve the image collection quality, to make things easier on the calibrator app. I'm sure the designers have done what they can to make calibration robust to poor conditions, but it is both unnecessary and unwise to try to dependent on that.
load data
figure(1); procIt(I1)
figure(2); procIt(I2)
function procIt(I)
[imagePoints,boardSize] = detectCheckerboardPoints(I);
boardSize
Nraw=height(imagePoints)
cut = any(~isfinite(imagePoints),2);
imagePoints(cut,:)=[];
Nfiltered=height(imagePoints)
J = insertText(I,imagePoints,1:size(imagePoints,1));
J = insertMarker(J,imagePoints,'o','MarkerColor','red','Size',5);
imshow(J);
title(sprintf('Detected a %d x %d Checkerboard',boardSize));
end
댓글 수: 12
Matt J
2025년 12월 16일 18:06
I wouldn't trust any of this. Did you look at any of the estimated parameters besides the principal point? What about the extrinsics? Do they make sense?
참고 항목
카테고리
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!




