这是最好的算法"估计和Visulize 2D骨架使用opencv"从绘制轮廓这是、最好的、骨架、轮廓

2023-09-11 00:08:45 作者:Д~泛怪情绪,♂

这是从画轮廓使用opencv估计和Visulize 2D骨架最好的算法

Which is the best algorithm to "Estimate and Visulize 2d skeleton using Opencv" from the drawn contour

是递归质心算法最好的? 任何引用链接或文档请提供

Is the Recursive Centroid algorithm the Best? any reference links or docs please provide

推荐答案

如果没有完成所有的功课,这里有一些提示:

Without doing all of your homework, here are some hints:

您只有一个轮廓 - 该分割相应内部和外部的边界。要确定一个框架,你需要填写对象连续。洪水填充算法将工作。

You have only a contour - a boundary that seperates the inside and the outside. To determine a skeleton you need a contiguous filled in object. A flood-fill algorithm will work.

对象的骨架是,仍然反复冲刷后的对象。

The skeleton of an object is the object that remains after iterative erosion.