198:443 Digital Imaging and Multimedia
Spring 2008
Assignment 1
Due Date – in class: Tuesday Feb 19
Submission instruction:
- You need to submit a hard copy of your work including all the
code you write and print out of the results.
- You also need to submit an electronic copy of your code. Zip all
your code in one file and email it to the TA. Please note, the electronic submission is for the code only.
DonŐt include images.
- Late submission policy: 10% off the grade for each day
late.
The images for this assignment are available at
ftp://ftp.cs.rutgers.edu/pub/elgammal/CS443/HW1
Install the current version of ImageJ on your computer and make
yourself familiar with the built in functions (open, convert, edit, and save
images, etc.)
In the following questions, the problems refer to exercises from
the DIP text book.
[Q1 – 10pts] Pr 2.2 and 2.6
[Q2 – 10pts] Pr 4.2 - use the image Ireland-03gray.tif to
test your code. Print the resulting cumulative histogram for this image.
[Q3 – 15pts] Problems 4.4 and 4.5 - Print the resulting
histogram in each case.
[Q4 – 10pts] Pr 5.3 - use the image Ireland-03gray.tif to
test your code. Print out the cumulative histogram and the modified version for
that image. Also print the resulting images.
[Q5 – 15 pts]
a-
Open the image flowers.tif using ImageJ.
b-
Plot the R,G,B component histograms as well as the brightness
histogram.
c-
Replace the R and G components and visualize and print the
resulting image.
[Q6 – 10pts] Write an ImageJ plug in that count the number
of distinct colors in an image. Test your code on the image flowers.tif and
report the result.
[Q7 – 20pts] In this question we are testing the geometric
and chromatic aberrations we have studied. Use a cell phone camera or a web
camera to capture an image that shows a geometric aberration and an image that
shows a chromatic aberration. Mark the locations of the aberrations. Can you
show the two types of aberrations in one image?