What is meant by imdilate?
Show older comments
Hi, can i know what is meant by:
(imdilate(L == 0, ones(3,3))
What is L == 0?
and ones(3,3)
This can be found in marker controlled watershed segmentation algorithm.
Thank you very much.
gradmag2 = imimposemin(gradmag, bgm | fgm4);
L = watershed(gradmag2);
I4 = I;
I4(imdilate(L == 0, ones(3, 3)) | bgm | fgm4) = 255;
figure, imshow(I4), title('Markers and object boundaries superimposed on original image (I4)');
1 Comment
Ive J
on 16 Jan 2021
If you are not familiar with MATLAB basics, please take a look at:
https://se.mathworks.com/help/matlab/getting-started-with-matlab.html
Accepted Answer
More Answers (0)
Categories
Find more on Image Segmentation in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!