Warning message while using camera calibrator

조회 수: 2 (최근 30일)
UNK
UNK 2016년 4월 8일
댓글: Dima Lisin 2016년 4월 13일
I am trying to calibrate a camera using Matlab Camera Calibrator. After I select the images, I am getting the following warning message: "Division by zero when processing. The value has been set to NaN". Any idea why I am getting this warning. Am I suppose to re-size the image?

채택된 답변

Rahul Goel
Rahul Goel 2016년 4월 12일
Hi UNK,
Are you using the images in JPEG format? These warnings look like corrupt exif metadata in the JPEG file that the function is trying to read. This should not affect the actual pixels, so this warning can be ignored. However, please note that saving the calibration images in the JPEG format is not a good idea, because of the compression artifacts. If possible, consider using a format with no compression or with lossless compression, like TIFF or PNG.
Hope this helps.
  댓글 수: 2
UNK
UNK 2016년 4월 12일
Thanks for the information. Just a quick question. Isn't it that the cameras give JPEG images? Am i supposed to convert them to PNG or TIFF images before I use them as the calibration images?
Dima Lisin
Dima Lisin 2016년 4월 13일
There must be a way to set you camera to store uncompressed images.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 MATLAB Support Package for USB Webcams에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by