이 제출물을 팔로우합니다
- 팔로우하는 게시물 피드에서 업데이트를 확인할 수 있습니다
- 정보 수신 기본 설정에 따라 이메일을 받을 수 있습니다
Least Square Cartesian Coordinates Transformation between two Cartesian Coordinates
Systems in 2D ( Similarity,Affine,Projective)
function [Y2N,X2N]=CartCoord_Transformation2D(YX,YX_new,Type)
% Sample application data
% 5 control points+ 2 New point to be transformed
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Nr Y1 X1 Y2 X2
% YX=[248 9043.7400 5208.7900 4618.7200 4068.8300
% 257 9218.4200 4833.4900 5579.4100 1115.6000
% 253 9000.0000 5000.0000 4103.9800 2553.3800
% 124 9220.0200 5166.9100 5893.3800 3597.0300
% 125 9242.7000 5039.3800 5946.7000 2626.7000 ];
% Nr Y1 X 1
% YX_new=[ 251 9106.1700 5050.7100
% 289 9066.8600 4878.0900 ];
Nr=YX(:,1);Y1=YX(:,2);X1=YX(:,3);Y2=YX(:,4);X2=YX(:,5);
NrN=YX_new(:,1);Y1N=YX_new(:,2);X1N=YX_new(:,3);
%INPUT
%
% YX % Control points coordinates [Point Y1 X1 Y2 X2]
% YX_new % New points coordinates(to be transformed) [Point_new Y1_new X1_new ]
%
% Y1,X1 : I.system cartesian coordinates
% Y2,X2 : II.system cartesian coordinates
% Type:Type of trasformation methods
% Type=1 SIMILARITY trasformation; number of Control point must be(n)>=2
% Type=2 AFFINE trasformation ; number of Control point must be(n)>=3
% Type=3 PROJECTIVE trasformation; number of Control point must be(n)>=4
%
%OUTPUT
%
% Y2N(m),X2N(m) : Calculated coordinates on II.system
How to cite:
BEKTAS, S.(2005) "Dengeleme Hesabı", Ondokuz Mayis University Press,ISBN 975-
7636-54-1
인용 양식
Sebahattin Bektas (2026). Least Square Coordinate Transformation in 2D (https://kr.mathworks.com/matlabcentral/fileexchange/48996-least-square-coordinate-transformation-in-2d), MATLAB Central File Exchange. 검색 날짜: .
