OpeningCopy to clipboard.
✖
Opening
Details
- 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]].
Examples
open allclose allBasic Examples (4)Summary of the most common use cases
Opening of a binary image using a disk-shaped structuring element:
https://wolfram.com/xid/0j48joz2-b7pzxp
Opening of a grayscale image using a disk-shaped structuring element:
https://wolfram.com/xid/0j48joz2-0c1z44
Opening of a color photo with a diamond-shaped structuring element:
https://wolfram.com/xid/0j48joz2-400cb1
Opening of a 3D image using a cubic structuring element:
https://wolfram.com/xid/0j48joz2-i5rj8x
Scope (9)Survey of the scope of standard use cases
Data (6)
Use Opening to remove short sequences of 1s from a numeric vector:
https://wolfram.com/xid/0j48joz2-fp0vsp
https://wolfram.com/xid/0j48joz2-om08hy
https://wolfram.com/xid/0j48joz2-6i5x1p
https://wolfram.com/xid/0j48joz2-kyjez3
Opening of a binary image with a disk-shaped structuring element:
https://wolfram.com/xid/0j48joz2-et46vr
https://wolfram.com/xid/0j48joz2-dr2m0j
Opening of a symbolic array of data:
https://wolfram.com/xid/0j48joz2-ioqpw6
Kernel (3)
https://wolfram.com/xid/0j48joz2-clylnb
https://wolfram.com/xid/0j48joz2-peee
Open using a uniform, square structuring element:
https://wolfram.com/xid/0j48joz2-jb1l3g
Applications (2)Sample problems that can be solved with this function
Use morphological opening to extract objects larger than the structuring element:
https://wolfram.com/xid/0j48joz2-ciu754
Extract 3D objects larger than the structuring element:
https://wolfram.com/xid/0j48joz2-nr1bsl
Properties & Relations (3)Properties of the function, and connections to other functions
Even-length kernels get right-padded with zeros:
https://wolfram.com/xid/0j48joz2-ewcmkp
https://wolfram.com/xid/0j48joz2-8vhv1l
For symmetric kernels, Opening corresponds to an Erosion followed by a Dilation:
https://wolfram.com/xid/0j48joz2-r7e5yo
For non-symmetric kernels, Opening corresponds to Erosion followed by a Dilation with a reflected structuring element:
https://wolfram.com/xid/0j48joz2-7vnmet
https://wolfram.com/xid/0j48joz2-s5yjnk
Wolfram Research (2008), Opening, Wolfram Language function, https://reference.wolfram.com/language/ref/Opening.html (updated 2012).
Text
Wolfram Research (2008), Opening, Wolfram Language function, https://reference.wolfram.com/language/ref/Opening.html (updated 2012).
Wolfram Research (2008), Opening, Wolfram Language function, https://reference.wolfram.com/language/ref/Opening.html (updated 2012).
CMS
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. Wolfram Research. Last Modified 2012. https://reference.wolfram.com/language/ref/Opening.html.
APA
Wolfram Language. (2008). Opening. Wolfram Language & System Documentation Center. Retrieved from 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
BibTeX
@misc{reference.wolfram_2024_opening, author="Wolfram Research", title="{Opening}", year="2012", howpublished="\url{https://reference.wolfram.com/language/ref/Opening.html}", note=[Accessed: 07-January-2025
]}
BibLaTeX
@online{reference.wolfram_2024_opening, organization={Wolfram Research}, title={Opening}, year={2012}, url={https://reference.wolfram.com/language/ref/Opening.html}, note=[Accessed: 07-January-2025
]}