MATLAB Answers


This question is closed and may reopen in the future if edited.


How to erode an image using matlab and extract its boundary?

Asked by arya
on 14 Nov 2012

I need the matlab code to erode the given image using a 3x3 square structuring element and to display the eroded image. In structuring element, all the pixels are white and the central pixel is the representative point. Extract the boundary of the object by morphological operation and display it as a separate image. I'm not allowed to use any special Image Processing Toolbox commands other than imread, imshow, imagesc, and imwrite. Pls help me by posting the code asap.* Pls find the image below. Thank You.,r:2,s:0,i:79&tx=426&ty=241

0 Answers

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today