Kamis, 12 Januari 2012

GRAFIK & OLAH CITRA

Sedikit rumus-rumus mengenai grafik & olah citra :

clc;
a = imread ('getsuya.jpg');
b = imresize (a,[800 600]);
imshow (b);
subplot (231); imshow (a);
title ('ichigo');
subplot (232); imshow (a);
a1=rgb2gray (a);
b=edge (a1,'canny');
imshow (b); title ('canny');
subplot (233); imshow (a);
a2=rgb2gray (a);
b=edge (a2,'robert');
imshow (b); title ('robert');
subplot (234); imshow (a);
a3=rgb2gray (a);
b=edge (a3,'log');
imshow (b); title ('log');
subplot (235); imshow (a);
a4=rgb2gray (a);
b=edge (a4,'sobel');
imshow (b); title ('sobel');
subplot (236); imshow (a);
a5=rgb2gray (a);
b=edge (a5,'prewitt');
imshow (b); title ('prewitt');


Semoga Bermanfaat !!!

0 komentar:

Posting Komentar

Twitter Delicious Facebook Digg Stumbleupon Favorites More

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | Laundry Detergent Coupons