Image transformation matrix

버전 1.0.0.0 (1.8 KB) 작성자: Adina Stoica
Find image to camera transformation matrix
다운로드 수: 400
업데이트 날짜: 2014/3/27

라이선스 보기

Get the Image to Camera transformation matrix
Inputs:
* W,H the width and height of the original camera image
* flen the focal length of the camera (as well as the distance between the camera and the image center)
(Note: All angles below move clockwise: NESW, down-forward-up, botton-left to top-right)
* pan is the angle of rotation around Z from North [left-right] corresponds to azimuth: 0<=pan<360
* tilt is the angle of rotation around X from Down [down-up], corresponds to zenith: 0<=tilt<=180
* roll is the angle of rotation around Y clockwise [side-to-side], (depends on horizon line) 0<=roll<360

Outputs:
* T is the PlaneToCamection matrix that gets the points from 2D to 3D

To get 3D points from 2D points: pts3D = T \ ptsIm;
To get 2D points from 3D points: ptsIm = T * pts3D;

인용 양식

Adina Stoica (2024). Image transformation matrix (https://www.mathworks.com/matlabcentral/fileexchange/46053-image-transformation-matrix), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2013a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Geometric Transformation and Image Registration에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.0