엔지니어가 되고 싶은 공돌이

10. Geometric Transformation(1) 본문

Computer Science/Image Processing

10. Geometric Transformation(1)

Geca 2025. 4. 18. 16:30

 

10. 1. Data Interpolation

 

- Geometric Transformation: image의 확대/축소, 회전변환 등.

 

- Data Interpolation: 기존에 알려진 데이터 지점을 이용해서, 새로운 데이터 지점을 구성하는 방법.

 

 

 

  ex) 기존 4개의 값으로, 새로운 8개의 값을 구축하는 방법.

 

 

1) Nearest-Neighbor(최근접) Interpolation.

 

 

 

2) Linear Interpolation: 원래의 함수 값을 직선으로 연결하고, 그 직선위의 값을 보간 값으로 할당.

 

 

 

- 1), 2) 방법 모두 영상에서 적용할 때는 일직선이 아닌 2차원에서 적용해야 하므로,

 

  먼저 제일 위쪽 행을 적용하고, 그 이후 아래쪽 행을 적용한 뒤,

 

  마지막으로 열을 따라 적용하면 됩니다.

 

 

3) Bilinear(양선형) Interpolation

 

 

- imresize(image, Scaling Constant, ‘method’);

 

  method: nearest, bilinear.


'Computer Science > Image Processing' 카테고리의 다른 글

11. Geometric Transformation(2)  (0) 2025.04.19
09. Area Unit Processing(2)  (0) 2025.04.17
08. Area Unit Processing(1)  (0) 2025.04.16
07. Pixel Unit processing  (0) 2025.04.15
06. Error Diffusion  (0) 2025.04.08
Comments