Query=> How to dilate binary image with structuring element in MATLAB?...
Ans=> To dilate binary image with structuring element we have to use the syntax “imdilate”...An example is given below for reference...
bw = imread('text.png'); %reading an image
se = strel('line',11,90); %structure element
bw2 = imdilate(bw,se); %dilate process
figure, %opening figure window
subplot(1,2,1),subimage(bw);title('original image'); %display gray image
subplot(1,2,2),subimage(bw2);title('dilated image'); %display dilated image
FOR MORE DETAILS
No comments:
Post a Comment