Complete by Class 3
Edge Sharpening
Write a program to sharpen an image by computing the Laplacian
of the image
and adding some amount c of that back to the original
image.
The resulting mask should be
Your program should accept positive and negative values of c.
Test it on the
racepoint image
and
telescope image
Answer the following questions
Histogram Equalization
Implement the histogram equalization method described in class (also in the text). Test it on the comet image
Answer the following questions
Gray level modification
The values of an 8-bit grayscale input image are modified according to s = 16 sqrt(r), where the factor of 16 guarantees that the result will be in the range 0 to 255. The output is also stored as 8-bit grayscale. If every possible gray value is present in the input image, how many distinct gray values will be present in the output image?
Hint: You may need to write a computer program to answer this question, although the program might not actually operate on images.
Rotational Invariance
Gonzalez and Woods, Problem 3.24.
Hint: You need to show that the Laplacian of f taken in x, y coordinates is the same as in x', y' coordinates. Use the chain rule from calculus to compute derivatives fx, fy, fxx, fyy.
What to hand in
Hand in to class