Given 1-D Image = [160, 160, 60, 60, 160, 160]
Therefore, Padding the 1-D Input Image with zeros =
[0 160, 160, 60, 60, 160, 160 0 ]
[ (0+160+10)/3, (160+160+0)/3, (160+60+60)/3, (60+60+160)/3, (60+160+60)/3, (160+160+0)/3]
[ 56.66 106.6, 93.33, 93.33, 93.33, 106.66]
Therefore, Padding the 1-D Input Image with zeros =
[0 160, 160, 60, 60, 160, 160 0]
1x3 Median Filter Image = [(0, 160, 160), (160, 160, 60), 160, 60, 60), (60, 60, 160), (60, 160, 160), (160,160,0) ]
= [ 160, 160, 60, 60, 160, 160]
(iii)
Image boundaries are points where there is sharp change in pixel intensities. Therefore, the image boundaries exists at points (160,60) and (60, 160) pixel intensity pairs.
Image Histogram is defined as the graph between Gray color intensity and corresponding no. of pixels. The image histogram is basically probability distribution function (PDF). Image histogram provides color profile of the image.
Edges in images are defined as the pixel intensity derivatives. Where the intensity derivative with respect to pixel location is non-zero or vary high, those regions corresponds to edge points. There are different edge operators like, sobel, canny, Roberts, prewitt and logarithmic etc.
Histogram Equalization
Histogram is defined as the plot between No. of pixels (Pi) and grey level intensity L (0 – 255). Histogram equalization is used to enhance the given input image in spatial domain. And each pixel intensity in transformed domain is the related to input image as given by:
HistEq Value after Histogram Equalization = (CDFi- CDFmin)(N-1) x (L-1)
Where L is the gray level and CDFi is the cumulative distribution function at ith grey level intensity.
Therefore, it can be said that the pixel intensity in histogram equalized image for the pixel O(x,y) corresponds to input pixel I(x,y) .
Where O(x,y) and I(x,y) are the image pixels intensities in output and input images.
An example of the same is illustrated below:
Question 4: Image processing 12 marks 11) Briefly describe the quantization in a grey scale image....
a) Briefly describe the two forms of quantization used in image processing 2 marks b) Consider the 1D image fragment below. Give the pixel values after filtering with () 1x3 mean filter (ii) 1x3 median filter. State how you handled the image boundaries and propose one alternative. Give one strength and one weakness for each of the filters 4 marks 210 210 90 90 210 210 c) Draw a rough sketch of what the image histogram for the image of...