portofolio 5:
portofolio5 = gaussian('myPhoto.jpg',3)
portofolio5 = gaussian('myPhoto.jpg',5)
portofolio5 = gaussian('myPhoto.jpg',9)
listing of gaussian.m:
function portofolio5 = gaussian(im,deviation)
im = imread(im)
g = rgb2gray(im);
image = filter2(fspecial('gaussian', size(g),deviation), g);
figure,imagesc(image),colormap gray;
cannyim = EDGE(image,'canny',[0.0500 0.1250]);
figure,imagesc(cannyim),colormap gray;
imhori = filter2([-1 0 1], image);
figure,imagesc(imhori),colormap gray;
imvert = filter2([-1; 0; 1], image);
figure,imagesc(imvert),colormap gray;
Minggu, 18 Mei 2008
Langganan:
Posting Komentar (Atom)
1 komentar:
Bagus ya. Bagai mana cara membuatnya?
Posting Komentar