Detect Edges from filters

Detect Edges from filters

Detect Edges from filters

i = imread('coins.png');
gray = rgb2gray(i);

BW1 = edge(gray,'sobel');
BW2 = edge(gray,'canny');
robe = edge(gray,'roberts');


figure; imshow(BW1); title('Sobel Filter');
figure; imshow(BW2); title('Canny Filter');
figure; imshow(robe); title('After applying roberts filter');
Share on Google Plus

About Mahinda Jayasundara

This is a short description in the author block about the author. You edit it by entering text in the "Biographical Info" field in the user admin panel.
    Blogger Comment

0 comments :

Post a Comment