gives the morphological opening of image with respect to the structuring element ker.
gives the opening with respect to a range-r square.
applies opening to an array of data.
- Opening 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.
- Opening automatically pads structuring elements to have odd dimensions.
- Opening[image,r] is equivalent to Opening[image,BoxMatrix[r]].
Examplesopen allclose all
Basic Examples (4)
Use Opening to remove short sequences of 1s from a numeric vector:
Opening of a binary image with a disk-shaped structuring element:
Wolfram Research (2008), Opening, Wolfram Language function, https://reference.wolfram.com/language/ref/Opening.html (updated 2012).
Wolfram Language. 2008. "Opening." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2012. https://reference.wolfram.com/language/ref/Opening.html.
Wolfram Language. (2008). Opening. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Opening.html