Query=> How to erode binary image with structuring element in
MATLAB?...
Ans=> To erode binary image with structuring element we have to use the syntax “imdilate”...An example is given below for reference...
originalBW = imread('circles.png'); %reading an image
se = strel('disk',11); %structufre element
erodedBW = imerode(originalBW,se); %erode process
figure, %opening figure window
subplot(1,2,1),subimage(originalBW);title('original image'); %display gray image
subplot(1,2,2),subimage(erodedBW);title('dilated image'); %display eroded image
FOR MORE DETAILS
click here
Ans=> To erode binary image with structuring element we have to use the syntax “imdilate”...An example is given below for reference...
originalBW = imread('circles.png'); %reading an image
se = strel('disk',11); %structufre element
erodedBW = imerode(originalBW,se); %erode process
figure, %opening figure window
subplot(1,2,1),subimage(originalBW);title('original image'); %display gray image
subplot(1,2,2),subimage(erodedBW);title('dilated image'); %display eroded image
FOR MORE DETAILS
click here
No comments:
Post a Comment