[Computer Graphics] Magnification (Nearest neighbor sampling, Bilinear interpolation, Bicubic interpolation)
Nearest neighbor sampling (Nearest point sampling) Algorithm: Assign the unknown pixel to the nearest known pixel Bilinear interpolation Algorithm: 1) Find the value along rows (ex. (0.3, 0.4) → A(0, 0.4), B(1, 0.4)) 2) After getting values at A and B, apply linear interpolation for point (0.3, 0.4) between A and B. - Linear interpolation의 2차원 버전이라고 생각하면 된다. - Nearest neighbor sampling 보다 부드러운 결..
2023.10.10