mdilate
No License
MDILATE Perform dilation on binary(2) or gray(256) image. newI = mdilate(Image,Se,Ap,Method) performs dilation on the image Image, using the binary structuring element Se. Se is a matrix containing only 1's and 0's. Ap is the active pointpoint in the Se Matrix, which define the point to dilate. Method is a string that can have one of these values:
'binary' - processes the binary image
'gray' - processes the gray image
mErode Perform erosion on binary(2) or gray(256) image. newI = merode(Image,Se,Ap,Method) performs erosion on the image Image, using the binary structuring element Se. Se is a matrix containing only 1's and 0's. Ap is the active point in the Se Matrix, which define the point to erode. Method is a string that can have one of these values:
'binary' - processes the binary image
'gray' - processes the gray image
Cite As
Yali Wei (2026). mdilate (https://www.mathworks.com/matlabcentral/fileexchange/131-mdilate), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Image Processing and Computer Vision > Image Processing Toolbox > Image Filtering and Enhancement > ROI-Based Processing >
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
