목록image (2)
David의 개발 이야기!
A. Interpolation 항상 헷갈리고, 이름만 보면 무서운 interpolation.. interpolation은, 주어진 데이터 포인트들 사이의 값을 추정하는 과정이다. 주어진 데이터들을 기반으로 missing 데이터를 예측하거나, 추론하는데 사용하는 방법이다. 즉, 이미지를 확대하거나, 축소할때 원본 이미지에 없던 새로운 픽셀 값을 결정해야하는데, 이때 interpolation 기법을 사용해 새로운 픽셀 값을 추정한다. 일반적인 Interpolation 방법으로는 다음과 같은 것들이 있다. 1. Neareat- neighbor interpolation (NN): 가장 가까운 픽셀 값을 그대로 사용. 계산이 간단하나 화질 저하 우려 2. Bilinear interpolation : 주변 4개의 ..
1. Image 란? Each point in matrix called a "Pixel" A pixel has a 2D coordinate A pixel has a value (intensity) A pixel Value indicates amount of light High Pixel Value == more light Lower Pixel Value == less light A pixel value is bounded No light (black) = 0 Sensor limit (white) = max Typical ranges: 0-255 : fit into byte 0-1 : floating point 2. Filtering Filtering modifies an image by replacing..