Professional Documents
Culture Documents
Lab5 - Solution-đã chuyển đổi
Lab5 - Solution-đã chuyển đổi
Lab#5
Homework
I) Develop a Matlab code that will perform the histogram equalization described
above. (Uses Lab5_2.tif).
Solution:
%hw1.m
clc close
all clear
all
f = imread('Lab5_2.tif');
g = histeq(f);
Output:
II) Develop a Matlab code that will perform Image Enhancement using
averaging described above. (Uses Lab5_2.tif and the noise type is salt &
pepper).
Solution:
%hw2.m
clc
2+In3+In4)/4;
8=(Ia6+In7+In8)/8;
Output:
2