Skip to content

MSc IT

MATLAB Program for Boundary Detection

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

error: Content is protected !!