2D Affine Transform on 2D

조회 수: 2 (최근 30일)
Chris E.
Chris E. 2016년 3월 9일
I'm attempting to use Affine Transform on an image and x,y coordnates. I made fake data that show the 4 corners of the image and the x,y points. The image points need to be aligned/scaled to fit the x,y points in meters.
%this is the corners of the image:
FC1 = [1 1;
1 1225;
3765 1;
3765 1225];
plot(FC1(:,1),FC1(:,2),'ob')
hold on
%This is the corners of the x,y points (in meters):
FC2 = [-2.2766 11.73447;
1.47 -11.79;
72.266 23.3821;
75.934 0];
plot(FC2(:,1),FC2(:,2),'or')
hold off
My hope is that I can scale down the image into the points that represent meters. It is like taking 2 images and scaling them and aligning the corners together. I'm not sure how to use the Affine Transform though... Thank you for the help.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Geometric Transformation and Image Registration에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by