16.1.1 Move

1 개요

이미지의 이동 변환을 수행하는 알고리즘입니다.

2 알고리즘 상세 설명

[xdstydst1]=[10mx01my001][xsrcysrc1]\begin{bmatrix} x_{dst} \\ y_{dst} \\ 1 \\ \end{bmatrix} = \begin{bmatrix} 1 & 0 & m_{x} \\ 0 & 1 & m_{y} \\ 0 & 0 & 1 \\ \end{bmatrix} \begin{bmatrix} x_{src} \\ y_{src} \\ 1 \\ \end{bmatrix}

설정한 Movement 값만큼 이동시킨 이미지를 반환합니다.

Source Image Destination Image
Source Image Destination Image
Fig. Move 동작 실행

3 파라미터 설정 및 사용 방법

[i] 동작을 위한 최소한의 기본 설정 파라미터는 아래와 같습니다.

멤버함수 파라미터 설 명
SetMovement float f32WidthMovement, f32HeightMovement IN 이동할 값

가로, 세로 방향으로 각각 이동할 값을 설정합니다. f32WidthMovement, f32HeightMovement - Default Value: 0.0

멤버함수 파라미터 설 명
SetInterpolationMethod EInterpolationMethod eMethod IN 보간법

보간법을 설정합니다. eMethod - Default Value: EInterpolationMethod_Bilinear, Recommended Value: EInterpolationMethod_Bilinear, EInterpolationMethod_Bicubic