DeleteBorderComponents
DeleteBorderComponents[image]
将二值图像 image 中与边界相邻的连通分量用背景像素替换.
将标签矩阵 m 中与边界相邻的矩阵用 0 替换.
更多信息和选项
- DeleteBorderComponents 适用于任意二维和三维图像或标签矩阵.
- DeleteBorderComponents 可以取 CornerNeighbors 选项. 默认设置为 CornerNeighbors->True.
范例
打开所有单元关闭所有单元属性和关系 (2)
Wolfram Research (2010),DeleteBorderComponents,Wolfram 语言函数,https://reference.wolfram.com/language/ref/DeleteBorderComponents.html (更新于 2012 年).
文本
Wolfram Research (2010),DeleteBorderComponents,Wolfram 语言函数,https://reference.wolfram.com/language/ref/DeleteBorderComponents.html (更新于 2012 年).
CMS
Wolfram 语言. 2010. "DeleteBorderComponents." Wolfram 语言与系统参考资料中心. Wolfram Research. 最新版本 2012. https://reference.wolfram.com/language/ref/DeleteBorderComponents.html.
APA
Wolfram 语言. (2010). DeleteBorderComponents. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/ref/DeleteBorderComponents.html 年