Friday, 21 September 2012


MATLAB Program for Boundary Detection

Code
close all;
clear all;
BW1 = imread('DSC08386.jpg');

subplot(1,2,1);
imshow(BW1)
title('original image');

SE = strel('arbitrary',eye(5));
BW2 = imerode(BW1,SE);
subplot(1,2,2);
imshow(BW1 - BW2)
title('Boundary Extracted');

Output of Boundry Detection


Related Posts :



0 comments:

Confused? Feel free to ask

Post a Comment