What is the effect of convolving an image with the mask $$\pmatrix{0 & 1 & 0\cr 1 & -4 & 1\cr 0 & 1 & 0\cr}$$
This produces a large output when the value below the middle of the mask is much lower than the pixels on its four sides --- and this will tend to enhance dark spots in an image.
What is the effect of convolving an image with the mask $$\pmatrix{0 & 1 & 0\cr 1 & 1 & 1\cr 0 & 1 & 0\cr}$$
This produces a large output when the value below the middle of the mask lies at the centre of a light +-shaped feature.
What is matched filtering?
Matched filtering is designing a convolution mask that will produce a strong response at specific image features.
Why is it often better to use the median then the mean when performing a convolution?
- it is more accurate
- it is faster to calculate
- it is easier to write the software
it blurs the image less
When one value lies well away from the others, the median is less affected then the mean, so it tends to blur the image less.
What is the effect of convolving an image with a +-shaped mask?
This produces a large output when the value below the middle of the mask lines at the centre of a light +-shaped feature.
For convolution of a single-channel 2D image with a 2D mask, how many nested loops are there in its implementation in software?
In order, there are normally loops over the rows and columns of the image. Within those, there are loops over the rows and columns of the mask.
What is a morphological grey-level expand?
A morophological shrink involves taking the maximum when performing a convolution. It has the effect of increasing the size of light-coloured regions on a dark background.
The Laplacean mask is useful for:
The Laplacean is best at identifying isolated pixels in images.
What is a morphological opening?
An opening is a shrink followed by an expand, at least as defined in the lecture notes -- some authors would call this an expand! I'm afraid you'll just have to remember this!
What is the effect of convolution with the following mask? $$\frac19 \pmatrix{1 & 1 & 1\cr 1 & 1 & 1\cr 1 & 1 & 1\cr}$$
- it will detect isolated points
- it will enhance edges
- it has no effect
it will blur edges
Averaging over a region will tend to blur an image.