Erode/dilate commands in three dimensions?
Show older comments
Hello,
I have a few questions about the erode/dilate commands in MATLAB:
1) What the default values are? 2) How to change them? 3) If it's possible to erode in 3-D, can you please send me a script?
Thank you. Any and all help is appreciated.
Answers (1)
Sean de Wolski
on 5 Jun 2012
- packopt: notpacked, shape: same
- imerode(im,se,'full')
- Yes.
%sample_script.m
imerode(rand(10,10,10)>.2,strel('disk',3))
Categories
Find more on MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!