mdilate

Version 1.0.0.0 (2.05 KB) by Yali Wei
This has 2 files mdilate.m(performs dilation of image) and merode.m(performs erosion on image).
4.2K Downloads
Updated 30 Mar 1998

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 (2024). mdilate (https://www.mathworks.com/matlabcentral/fileexchange/131-mdilate), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R10
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0