gives the morphological closing of image with respect to the structuring element ker.
gives the closing with respect to a range-r square.
applies closing to an array of data.
- Closing 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 0s and 1s.
- Closing automatically pads structuring elements to have odd dimensions.
- Closing[image,r] is equivalent to Closing[image,BoxMatrix[r]].
Examplesopen allclose all
Basic Examples (3)
Closing of a binary image with a diamond-shaped structuring element:
Close with radius , equivalent to BoxMatrix[r]:
Closing removes holes that are smaller than the structuring elements:
Wolfram Research (2008), Closing, Wolfram Language function, https://reference.wolfram.com/language/ref/Closing.html (updated 2012).
Wolfram Language. 2008. "Closing." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2012. https://reference.wolfram.com/language/ref/Closing.html.
Wolfram Language. (2008). Closing. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Closing.html