mdilate

This has 2 files mdilate.m(performs dilation of image) and merode.m(performs erosion on image).

You are now following this Submission

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 .

Tags

Add Tags

Add the first tag.

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0