

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


bf (x, y) =
255 , if f (x, y) > t(x, y), 0 , otherwise bg(x, y) =
255 , if g(x, y) > t(x, y), 0 , otherwise
1.1) (10pts) Compute the expected value of bf (x, y) as a function of f (x, y)
1.2) (10pts) Compute the variance of bf (x, y) as a function of f (x, y)
1.3) (20pts) Compute the expected value of bg (x, y) as a function of f (x, y)
1.4) (20pts) Compute the variance of bg (x, y) as a function of f (x, y)
1.5) (10pts) Let f(x,y) be the image provided for this problem on the course website. Include in your report:
1.5.1) Figure 1 showing g(x, y) and the caption
1.5.2) Figure 2 showing two random samples of bf (x, y) and the caption
1.5.3) Figure 3 showing two random samples of bg(x, y) and the caption
(Hint: Use MATLAB command โrandโ for sampling thresholds t(x, y) to generate bf (x, y).)
f (x, y) =
2.1) (10pts) Define transformation g(x, y) = T (f (x, y)) that will equalize the pixel histogram of f (x, y), so that the pixel values of g(x, y) can also be represented by 3 bits.
2.2) (10pts) Compute all pixels of 4 ร 4 matrix g(x, y).
2.3) (10pts) Find the frequency of occurrence of each pixel value of g(x, y), and use this result to draw the histogram of pixel intensities of g(x, y) (this may be done by hand). Indicate on the plot the labels of each axis, and mark the height of each histogram bin.
2 / 2