fitgeotrans
(권장되지 않음) 제어점 쌍에 기하 변환 피팅
fitgeotrans
는 권장되지 않습니다. 대신 fitgeotform2d
함수를 사용하십시오. 자세한 내용은 호환성 관련 고려 사항 항목을 참조하십시오.
구문
설명
는 유형 tform
= fitgeotrans(movingPoints
,fixedPoints
,tformType
)tformType
의 선형 기하 변환을 제어점 쌍 movingPoints
와 fixedPoints
에 피팅합니다.
는 tform
= fitgeotrans(movingPoints
,fixedPoints
,"polynomial",degree
)PolynomialTransformation2D
객체를 제어점 쌍 movingPoints
및 fixedPoints
에 피팅합니다. 다항식 변환의 차수를 2, 3 또는 4로 지정합니다.
은 tform
= fitgeotrans(movingPoints
,fixedPoints
,"pwl")PiecewiseLinearTransformation2D
객체를 제어점 쌍 movingPoints
및 fixedPoints
에 피팅합니다. 이 변환은 고정 제어점의 들로네 삼각분할을 만들고 이동 제어점을 대응되는 고정 제어점에 매핑합니다. 다른 아핀 변환이 각 국소 영역의 제어점을 매핑합니다. 매핑은 제어점 전체에서 연속적이지만 연속적으로 미분할 수는 없습니다.
은 tform
= fitgeotrans(movingPoints
,fixedPoints
,"lwm",n
)LocalWeightedMeanTransformation2D
객체를 제어점 쌍 movingPoints
및 fixedPoints
에 피팅합니다. 국소 가중 평균 변환은 각 제어점에서 인접 제어점을 사용하여 다항식을 추론하는 방법으로 매핑을 생성합니다. 어느 임의 위치에서의 매핑은 이 다항식의 가중 평균에 따라 달라집니다. n
개의 최근접 점을 사용하여 각 제어점 쌍에 대한 2차 다항식 변환을 추론합니다.
예제
입력 인수
출력 인수
세부 정보
참고 문헌
[1] Goshtasby, Ardeshir. “Piecewise Linear Mapping Functions for Image Registration.” Pattern Recognition 19, no. 6 (January 1986): 459–66. https://doi.org/10.1016/0031-3203(86)90044-0.
[2] Goshtasby, Ardeshir. “Image Registration by Local Approximation Methods.” Image and Vision Computing 6, no. 4 (November 1988): 255–61. https://doi.org/10.1016/0262-8856(88)90016-9.