Human Face Recognition
|Matlab Program 4--Noise inserted by function imnoise in same pictures|
Matlab Program 4--Noise inserted by function imnoise in same pictures
I = imread('cara1.jpg');
Ja = imnoise(I,'salt & pepper',0.02);
%BW1 = im2bw(I,.5);
BW3 = edge(I,'canny');
BW4 = edge(Ja,'canny');
%p=BW1 * BW2;
Z = fspecial('gaussian');
figure, freqz2(Z,[64 64]), axis([-1 1 -1 1 0 1])
Here two same pictures are used but noise is inserted in one of them by using imnoise() function. Three parameters are passed through this function. First one is the variable where the picture is saved in which noise is to be inserted, second one is the type of noise, third one is parameter.
Want To Know more with
Contact for more learning: webmaster@freehost7com
The contents of this webpage are copyrighted © 2008 www.freehost7.com
All Rights Reserved.