2D Affine Transform on 2D
조회 수: 1 (최근 30일)
이전 댓글 표시
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
답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!