Вы находитесь на странице: 1из 11

Prog 4: Call the image and draw its histogram.Also draw the equilisation histogram.

Original image:
Histogram:
0 50 100 150 200 250
0
200
400
600
800
1000
1200
1400
1600
Histogram Equilisation:
0 50 100 150 200 250
0
500
1000
1500
2000
2500
3000

Prog 5: Call the image and convert into the binary image after threshold selection.
Original Image:
Converted Binary Image:
Prog 6: Call the image and add salt and pepper noise.
Original Image:
Salt And Pepper Noise:
Prog : Call the image and add !aussian noise into the image.
Original Image:
Gaussian noise:
Prog ": #isplay image $ find pi%el value $ distance between pi%els:
Pi%el &alue:
close all
clear all
ims!o" #pout$ti%&
vals'impi(el
Pi%el values:
)als ' *+ *+ *+
,-* ,-* ,-*
,++ ,++ ,++
,.* ,.* ,.*
/0 /0 /0
,+- ,+- ,+-
#istance between pi%els:
clear all
close all
ims!o" pout$ti%
pi(val
pout.tif
vals '
*/ */ */
,1, ,1, ,1,
,1, ,1, ,1,
#istance:
,,,$,.02 ,3.$00/ ' ,1.2 dist ' /,$-3.
Prog (: Call the image and remove noise by )edian filter.
Original:
Salt and Pepper Noise:
4edian 5iltering:
Prog *+: Call the image and remove noise by ,iener filter.
Original:
Salt and Pepper Noise:
6iener 5iltering:

Вам также может понравиться