Closing
范例
打开所有单元 关闭所有单元基本范例 (3)
范围 (10)
数据 (7)
Closing[{1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 1}, {1, 1, 1}]data = QuantityMagnitude@Values[FinancialData["AT&T", {{2012, 7, 1}, {2013, 1, 1}, "Day"}]];ListLinePlot[{data, Closing[data, 10]}]Closing[(| | | | | | | |
| - | - | - | - | - | - | - |
| 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| 0 | 0 | 0 | 1 | 1 | 0 | 0 |
| 0 | 1 | 1 | 1 | 1 | 0 | 0 |
| 0 | 0 | 1 | 1 | 0 | 0 | 0 |
| 0 | 0 | 0 | 1 | 1 | 0 | 0 |
| 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| 0 | 0 | 0 | 0 | 0 | 0 | 0 |), (| | | |
| - | - | - |
| 0 | 0 | 0 |
| 0 | 1 | 1 |
| 0 | 0 | 1 |)]//MatrixForm对具有钻石状结构化元素的二值图像进行 Closing 运算:
Closing[[image], DiamondMatrix[11]]Closing[[image], 6]Closing[[image], 15]Closing[{a, b, c}, 1]参数 (3)
Closing[[image], {{1, 1, 1, 1, 1, 1}}]Closing[[image], {{1}, {1}, {1}, {1}, {1}}]半径
的闭运算,等价于 BoxMatrix[r]:
Closing[[image], 6]应用 (4)
Closing 去除小于结构化元素的孔:
Closing[[image], DiskMatrix[5]]Closing[[image], DiskMatrix[5]]Closing[[image], 2]Closing[[image], 1]文本
Wolfram Research (2008),Closing,Wolfram 语言函数,https://reference.wolfram.com/language/ref/Closing.html (更新于 2012 年).
CMS
Wolfram 语言. 2008. "Closing." Wolfram 语言与系统参考资料中心. Wolfram Research. 最新版本 2012. https://reference.wolfram.com/language/ref/Closing.html.
APA
Wolfram 语言. (2008). Closing. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/ref/Closing.html 年
BibTeX
@misc{reference.wolfram_2026_closing, author="Wolfram Research", title="{Closing}", year="2012", howpublished="\url{https://reference.wolfram.com/language/ref/Closing.html}", note=[Accessed: 14-August-2026]}
BibLaTeX
@online{reference.wolfram_2026_closing, organization={Wolfram Research}, title={Closing}, year={2012}, url={https://reference.wolfram.com/language/ref/Closing.html}, note=[Accessed: 14-August-2026]}