Dilation
Dilation[image,ker]
gives the morphological dilation of image with respect to the structuring element ker.
Dilation[image,r]
gives the dilation with respect to a range-r square.
Dilation[data,…]
applies dilation to an array of data.
Details and Options
- Dilation is also known as Minkowski addition.
- Dilation works with arbitrary 2D and 3D images, operating separately on each channel, as well as data arrays of any rank.
- The structuring element ker is a matrix containing s and s.
- Dilation[image,r] is equivalent to Dilation[image,BoxMatrix[r]].
- The structuring element is automatically padded with zeros to have odd dimensions. »
- Dilation takes a Padding option that specifies the values to assume for pixels outside the image.
- By default, Padding0 is used for images, corresponding to pixel value 0 for all channels.
Examples
open allclose allBasic Examples (3)
Scope (13)
Data (7)
Parameters (6)
Dilate with radius , equivalent to BoxMatrix[r]:
Dilate with a diagonal structuring element:
Structuring elements with even dimensions are right-padded with zeros:
Options (2)
Padding (2)
By default, the smallest possible number is used for padding when applying dilation to arrays:
By default, Padding->0 is used for images:
Applications (2)
Properties & Relations (2)
Text
Wolfram Research (2008), Dilation, Wolfram Language function, https://reference.wolfram.com/language/ref/Dilation.html (updated 2012).
CMS
Wolfram Language. 2008. "Dilation." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2012. https://reference.wolfram.com/language/ref/Dilation.html.
APA
Wolfram Language. (2008). Dilation. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Dilation.html