convoloution and image filtering Flashcards
(90 cards)
What is image filtering?
It is the process of modifying or enhancing an image by applying mathematical operations to its pixel values.
What are the two main types of image filters?
Point-based filters and neighbourhood (spatial) filters.
What is a point-based image filter?
A filter that processes each pixel independently, without considering neighbouring pixels.
What is a neighbourhood filter?
A filter that uses a surrounding region (kernel) of pixels to modify each pixel based on local context.
What are common goals of image filtering?
Denoising, deblurring, contrast enhancement, edge detection, and feature extraction.
What does brightness adjustment do in point filtering?
It adds a constant to all pixel values, making the image lighter or darker.
What is a visual effect of brightness adjustment on a histogram?
It shifts the histogram left (darker) or right (brighter).
What does contrast enhancement do in point filtering?
It stretches pixel intensities away from the center to increase tonal separation.
What is the formula for linear contrast stretching?
I’(x, y) = a · (I(x, y) - 128) + 128
What is image inversion in point-based filtering?
It replaces each pixel value with 255 minus the original, flipping dark and light.
What does image inversion do to the histogram?
It flips it horizontally around the midpoint.
What is quantisation in imaging?
It is the mapping of continuous pixel values to discrete levels due to limited bit depth.
What is the bit depth in an 8-bit image?
Each channel has 256 intensity levels (0 to 255).
Why is quantisation important in image filtering?
Because it determines the precision and dynamic range available for processing.
What is the limitation of point-based filters?
They cannot recognize local patterns or remove structured noise like salt-and-pepper.
What is an image histogram?
A graph that shows the distribution of intensity values across all pixels in an image.
What do the X and Y axes in an image histogram represent?
X = intensity levels; Y = number of pixels with that intensity.
What does a narrow histogram indicate?
Low contrast — most pixels are near a similar brightness level.
What happens to the histogram after contrast stretching?
It expands to cover more of the intensity range.
What is a box filter?
A neighbourhood filter that averages all pixels in a local window with equal weight.