Basic concepts of Image processing with examples in Matlab
- Intensity Transformations
- Image Filtering in the Spatial Domain
- Edge detection
- Image Filtering in frequency domain
- Image restoration
- Image segmenation
- Morphology
- Regionprops
- histogram.m - Generatate histogram for grayscale image
- histogram_color_image.m - Generate histogram for color image
- rgb_histogram.m - Function for generating color image histogram
- pixel_value_filter.m - Filtering image by pixel value
- filter_by_value.m - Detecting background by color
- pixel_transformation.m - Function for chaging pixel value based on Look-up table (LUT)
- pixel_lut_exp - Exponentional function aproximated with LUT
- pixel_lut_log - Log function aproximated with LUT
- pixel_lut_gama - Power function aproximated with LUT
- histogram_equalization - Histogram equalization
- adaptive_histogram - Adaptive histogram equalization
- rgb_histogram_euqalization.m - Histogram equalization on color images
Examples:
- noise.m - Add noise to the image
- mean_filter.m - Mean filter in spatial domain
- median_filter.m - Median filter in spatial domain
- order_statistic_filtering.m - Order-statistic filtering in spatial domain
- gaussian_filter.m - Gaussian filtering in spatial domain
Examples
- first_order_edge_detection.m - Edge detection using kernel aproximation of first order deviation
- second_odred_edge_detection.m - Edge detection using kernel aproximation of second order deviation
- zero_crossing_edge_detector.m - LoG filter
- edge_emphasise.m - Emphasasing edges using LoG filter
TO implement image filtering in frequnecy domain it is required to follow steps listed below:
- Read image (imread());
- Obtain the Fourier transform F of the image
- Generate the filter function H, the same size as the image
- Multiply the transformer image by the filter G = H .* F
- Optain inverse FFT of the G
- Scale the output image
Examples
- fft_image.m - Generate fft for an image.
- ideal_lp_filter.m - Ideal low pass filter
- ideal_hp_filter.m - Ideal high pass filter
- butterworth_lp_filter.m - Butterworth low pass filter
- butterworth_hp_filter.m - Butterworth high pass filter
- gauss_lp_filter.m - Gauss low pass filter
- gauss_hp_filter.m - Gauss high pass filter
Examples
- periodic_noise.m - Add periodic noise to the image
- filtering_periodic_noise.m - Remove periodic noise using band stop filter
- inverse_filtering.m - Inverse filtering
- inverse_filtering_constrained_division.m - Inverse filtering with constrained_division
- inverse_filtering_lp_filter - Inverse filtering with low pass filter
- Add motion debluring
- Add Wiener filtering
Examples:
- threshold.m - Segmenation using manual threshold value.
- histogram_approximation - Approximate histogram with polynomial function
- otsu.m - Otsu's method
- Add entropy classsification
- Add isodata algorithm
Examples
- erosion.m - Erosion operation
- dilatation.m - Dilatation operation
- opening.m - Opening operation
- closing.m - Closing operation
- hit_or_miss_transformation.m - Not working like intended
- opening_by_reconstruction.m
#8. Regionprops
Examples:
- circle.m
- bwlabel_example.m
- boundingbox.m