DeleteBorderComponents

DeleteBorderComponents[image]

将二值图像 image 中与边界相邻的连通分量用背景像素替换.

DeleteBorderComponents[m]

将标签矩阵 m 中与边界相邻的矩阵用 0 替换.

更多信息和选项

范例

打开所有单元关闭所有单元

基本范例  (2)

删除一个二值图像中与图像边界相连通的分量:

删除与三维图像边界连接的分量:

范围  (1)

从一个标签矩阵中删除边界分量:

选项  (1)

CornerNeighbors  (1)

默认情况下,假定8-连通度:

假定 4-连通度以进行分量计算:

应用  (1)

通过周期性填充一个单一模式创建纹理图像:

删除与边界相邻从而不完整的模式:

属性和关系  (2)

当从标签矩阵删除边界分量时,分量不会被重新标记:

通过掩模边界,然后使用 GeodesicDilation,也可能获取同样的效果:

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 年

BibTeX

@misc{reference.wolfram_2024_deletebordercomponents, author="Wolfram Research", title="{DeleteBorderComponents}", year="2012", howpublished="\url{https://reference.wolfram.com/language/ref/DeleteBorderComponents.html}", note=[Accessed: 17-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_deletebordercomponents, organization={Wolfram Research}, title={DeleteBorderComponents}, year={2012}, url={https://reference.wolfram.com/language/ref/DeleteBorderComponents.html}, note=[Accessed: 17-November-2024 ]}