This repo contains all the codes of Digital Image Processing class.
Scripts in this repo needs to be executed with MATLAB. Adjustment is needed for GNU Octave.
No. | Filename | Description |
---|---|---|
1 | draw3pic.m | Draw three identical square except for their gray-scale pixel value. Illustrates illusion. |
2 | draw_mach_band.m | Draw Mach Bands. |
3 | draw_halftoning_gimg_22.m | Draw halftoning image from grayscale image by 2x2 dither matrix. |
4 | draw_halftoning_gimg_44.m | Draw halftoning image from grayscale image by 4x4 dither matrix. |
5 | draw_halftoning_gimg.m | Generalized halftoning grayscale image drawing function. (bug) |
6 | draw_halftoning_cimg.m | Generalized halftoning grayscale image drawing function. (bug) |
7 | gimg_arith_op_1.m | Solarize grayscale image with speed test capability. |
8 | gimg_ao1_value.m | Draw figure showing value before and after conversion. |
9 | gimg_arith_op_2.m | Solarize grayscale image with speed test capability. |
10 | gimg_ao2_value.m | Draw figure showing value before and after conversion. |
11 | cimg_arith_op_1.m | Solarize colored image with speed test capability. |
12 | cimg_arith_op_2.m | Solarize colored image with speed test capability. |
13 | gimg_hist_equal.m | Gray-scale image histogram equalizor. |
14 | hist_equal.m | Histogram equalizor. |
15 | spatial_filter.m | Basic version of code to apply spatial filter for blur, edge detection, edge enhancement. |
16 | spatial_filter_maskscaling.m | Experiment on scalling up blur mask. |
17 | spatial_filter_scalingtransform.m | Experiment on different scaling transform parameters for edge detection and enhancement. |
18 | spatial_filter_scalingtransform1.m | Same function as file above but only scale transform positive numbers to expose more edge. |
19 | spatial_filter_clipping.m | Same function as file above but use clipping instead of scaling transform to expose more edge. |