Function estimateWo​rldCameraP​ose() or extrinsics() for fisheyeParameters is missing. Is it possible to change these functions for fisheye?

조회 수: 7 (최근 30일)
I am using a camera system which has a fisheye lens. I have calibrated the camera and I have the intrinsics. I want to estimate the extrinsics and camerapose for the camera. I have imagePoints, worldPoints and parameters of the camera.
But the function - estimateWorldCameraPose() cannot accept fisheyeParamaters or fisheyeIntrinsics.
My error is -
Error using estimateWorldCameraPose
Expected cameraParams to be one of these types:
cameraParameters, cameraIntrinsics
Instead its type was fisheyeIntrinsics.
Is it possible to change these functions for fisheye?
Or is it mathematically not possible?
Thank you.

채택된 답변

Qu Cao
Qu Cao 2020년 6월 16일
fisheyeIntrinsics can't be used directly. Instead, you can use undistortFisheyeImage function to produce both undistorted image for further processing and a "virtual perspective" camera intrinsics. See syntax which returns "camIntrinsics"
The new camIntrinsics can then be used in workflows involving a pinhole camera. It is a virtual pinhole camera created from the original fisheye camera. This new intrinsics object (non-fisheye) can then be fed into estimateWorldCameraPose.
  댓글 수: 5
POORNAPRAGNA LS
POORNAPRAGNA LS 2020년 9월 17일
As a follow up to this question, would the focal length and principal point of the virtual camera extracted from undistortFisheyeImage be the same as the focal length and principal point of the actual camera?
Ron Leonard
Ron Leonard 2020년 9월 24일
the focal length and principal point return by undistortFisheyeImage isn't same with the actual camera. the new parameters is the virtual and ideal pinhole camera's.

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

추가 답변 (0개)

카테고리

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

제품


릴리스

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by