fitgeotform2d
구문
설명
은 유형 tform
= fitgeotform2d(movingPoints
,fixedPoints
,tformType
)tformType
의 선형 기하 변환을 제어점 쌍 movingPoints
와 fixedPoints
에 피팅합니다.
는 차수 tform
= fitgeotform2d(movingPoints
,fixedPoints
,"polynomial",degree
)degree
의 다항식 변환을 제어점 쌍 movingPoints
와 fixedPoints
에 피팅합니다. 다항식 변환의 차수 degree
를 2, 3 또는 4로 지정합니다.
은 조각별 선형 변환을 제어점 쌍 tform
= fitgeotform2d(movingPoints
,fixedPoints
,"pwl")movingPoints
및 fixedPoints
에 피팅합니다. 이 변환은 고정 제어점의 들로네 삼각분할을 만들고 이동 제어점을 대응되는 고정 제어점에 매핑합니다. 다른 아핀 변환이 각 국소 영역의 제어점을 매핑합니다. 매핑은 제어점에서 연속이지만 연속해서 미분 가능하지는 않습니다.
은 국소 가중 평균 변환을 제어점 쌍 tform
= fitgeotform2d(movingPoints
,fixedPoints
,"lwm",n
)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.