Image resizing and Denoising Flashcards
Define interpolation:
Given a set of discrete data points (position and value), interpolation is used to find values at positions in between the points
What is nearest neighbour interpolation?
For any sample position in between the existing ones, we find the closest sample points and use its value as our interpolated value.
What is the equation for linear interpolation?
y = ya + (yb - ya) ( (x - xa) / (xb- xa) )
What is the equation for the original x (ox) value in image resizing?
ox = new x position * (original width / new width)
What is bi-linear interpolation?
Interpolation done in the x and y dimension, one after the other.
What is the linear interpolation equation to find a value (e.g. colour) on a given position (y-axis)?
v = v1 + (v2 - v1) ( (y-y1) / (y2-y1) )
Same equation for x-axis
What is the process of removing noise using non linear filtering?
- Using a small image, take the median filter size (e.g. 3x3)
- Create a list of all the pixels in the filter and sort it
- Find the median pixel, and use it as the new value