Incorrect focal length by Camera Calibrator?

Hello,
I noticed that Camera Calibrator gives focal lengths approximately twice as big as OpenCV. This affects calculation of the field of view. I think that Camera Calibrator's values are incorrect as field of view provided by camera manufacturer and rough estimates of FoV obtained by myself match the OpenCV values. Is the Camera Calibrator's meaning of focal length different from the standard one?
Thank you,
Yuri Rzhanov

답변 (1개)

Hornett
Hornett 2024년 9월 23일

0 개 추천

The discrepancy you are observing might be due the fact that OpenCV spatial coordinate system specifies the upper-left pixel center at (0,0), whereas the MATLAB spatial coordinate system specifies the pixel center at (1,1). You can use the "cameraIntrinsicsToOpenCV" function to convert MATLAB "cameraIntrinsics" or "cameraParameters" object, specified by intrinsics, to OpenCV camera intrinsic parameters.
Take a look at the following documentation which can help you further.
Hope it helps!

카테고리

도움말 센터File Exchange에서 MATLAB Support Package for USB Webcams에 대해 자세히 알아보기

제품

릴리스

R2021a

질문:

2024년 2월 27일

답변:

2024년 9월 23일

Community Treasure Hunt

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

Start Hunting!

Translated by