本文介绍了哪个是“使用Opencv估计和可视化2d骨架”的最佳算法从绘制的轮廓的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

从绘制的轮廓中使用Opencv估计和可视化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:


  1. 你只有一个轮廓 - 一个分隔内部和外部的边界。要确定骨架,您需要一个连续填充的对象。泛洪填充算法将起作用。

  1. 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.

这篇关于哪个是“使用Opencv估计和可视化2d骨架”的最佳算法从绘制的轮廓的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-14 00:56