imdilate
Dilate image
Description
Examples
Input Arguments
Output Arguments
More About
Tips
If the dimensionality of the image
I
is greater than the dimensionality of the structuring element, then theimdilate
function applies the same morphological dilation to all planes along the higher dimensions.You can use this behavior to perform morphological dilation on RGB images. Specify a 2-D structuring element for RGB images to operate on each color channel separately.
When you specify a structuring element neighborhood,
imdilate
determines the center element ofnhood
byfloor((size(nhood)+1)/2)
.imdilate
automatically takes advantage of the decomposition of a structuring element object (if it exists). Also, when performing binary dilation with a structuring element object that has a decomposition,imdilate
automatically uses binary image packing to speed up the dilation [3].
References
[1]
[2]
[3]