合并 MorphologicalGraph 中的两条边

问题描述 投票:0回答:1

假设我有一个形态图如下:

enter image description here

我想将其中一些明显短于其他边缘的边缘组合成单个边缘,如下图红色所示:

enter image description here

我该怎么做?

如有任何帮助,我们将不胜感激!

image-processing graph wolfram-mathematica edges mathematical-morphology
1个回答
1
投票

在应用之前处理您的原始图像

MorphologicalGraph
。为此,请使用图像处理工具。例如,简单应用
Dilation
可以缩小一条短边,比较一下:

enter image description here

最新问题
© www.soinside.com 2019 - 2024. All rights reserved.