CS 791 Programming Assignment # 1
by Beifang Yi
1. Problem1: Image-processing with CVIPtools GUI and its library
functions.
The basic image is:
1.1. Images Processed with CVIPtools GUI
a).
1). translation.
2). rotation.
3). scaling
b).
1). thresholding (at 128)
2). negative
c).
1). histogram.
2). histogram equalization, and the new histogram
d). Smooth
1). averaging
2). gaussian 3x3
3). gaussian 7x7
e). Sharpen using Laplacian
1). 3x3
2. 7x7
f). Add salt-and-pepper noise
1). clean using smoothing
2). clean using median filtering
g). Add Gaussian noise
1). clean using smoothing
2). clean using median filterin
1.2. Images Processed with CVIPtools' library functions
- Download the Makefile and source code testDisplay.c and the test image file beifabeifang which is required in running the program (or
else, you have to provide an image file named "beifang").
- Produce executable file: ./make
- In the well-commented source code, CVIP library functions are called
in the following same order.
- My program compiled and run well in my Linux (Red Hat 8.0) laptop and
it should be OK in CS' Unix, because I just made very few changes in the
examplar Makefile.
- IMPORTANT NOTICE: problems in sharpening images (e). I had tried
to use many different functions but in vain. It should be fine with
"get_default_filter()" and then "convolve_Image()" the image. But I found
CVIP Matrix has a possible bug in the operations on Matrix. I reported this
problem to the CVIP developper and am waiting for their reply.
a).
1). translation.
2). rotation.
3). scaling
b).
1). thresholding
2). negative
c).
1). histogram.
2). histogram equalization, and the new histogram
d). Smooth
1). averaging
2). gaussian 3x3
3). gaussian 7x7
e). Sharpen using Laplacian
1). 3x3
2. 7x7
f). Add salt-pepper noise
1). clean using smoothing
2). clean using median filtering
g). Add Gaussian noise
1). clean using smoothing
2). clean using median filtering