Assignment I
Assignment I
Assignment – I
Faculty: Dr. Hemant Sharma Submission Date:
__________________________________________________________________________________
Q. 1 Consider the two image subsets, S1 and S2 in the following figure. Assuming that V {1} ,
determine whether these two subsets are:
a) 4-adjacent
b) 8-adjacenet
c) M-adjacent
Q. 5 Do the following:
a) How it is useful to decompose an image into its bit planes?
b) Find all the bit planes of the following 3-bit images:
0 3 7 1
1 1 2 2
3 5 5 7
4 6 2 6
Q. 6 Assume continuous intensity values, and suppose that the intensity values of an image
2r
have the PDF p r (r ) for 0 r L 1 , and pr (r ) 0 for other values of r .
( L 1)2
a) Find the transformation function that will map the input intensity values, r , into
values, s , of a histogram equalized image.
b) Find the transformation function that (when applied to the histogram equalized
3z 2
intensities, ) will produce an image whose intensity PDF is p z ( z ) for
( L 1)3
0 z L 1 and pz ( z ) 0 for other values of z .
Q. 7 An image with intensities in the range [0, 1] has the PDF, pr (r ) , shown in the following
figure. It is desired to transform the intensity levels of this image so that they will have the
specified PDF, pz ( z ) , shown in the figure. Assume continuous quantities, and find the
transformation (expressed in terms of r and s ) that will accomplish this.
x
2 2
y
continuous quantities. You will need the following equations relating coordinates for axis
rotation by an angle :
where ( x, y ) are the unrotated and ( x ' , y ' ) are the rotated coordinates.