OpenCV的骨架在C# [英] skeletonization OpenCV In C#
问题描述
任何人都可以给我如何不使用变换的距离的骨架的例子,或者如果你有长跑的变换骨架。我有OpenCV的在C#中的例子,更是行不通的。
cvlib.CvDistTransform(PIMG裁判,裁判TIMG,(INT)cvlib.CV_DIST_L2,3,NULL,NULL);
anyone could give me an example of how to skeletonization without using the transform of the distance, or if you have a skeletonization with the transform of distance running. I have an example with OpenCV in C #, more does not work. cvlib.CvDistTransform (pimg ref, ref timg, (int) cvlib.CV_DIST_L2, 3, null, null);
在的参数错误空了,我解决不了。如果有谁知道如何解决,或其他一些例子让我看看。
我跟OpenCV的工作在C#中,但如果例子是OpenCV的在C ++或其他liguam供应。
谢谢
An error in the parameters of the null, and I can not solve. if anyone knows how to solve, or some other example please show me. I am working with OpenCV in C #, but if the example is with OpenCV in C + + or other liguam serves. thank you
推荐答案
有另一种方法解释此处的 http://opencvpython.blogspot.in/2012/05/skeletonization-using-opencv-python.html
There is another method explained here : http://opencvpython.blogspot.in/2012/05/skeletonization-using-opencv-python.html
下面是示例结果:
这是非常简单,所有的功能都在OpenCV的标准功能。这是Python的,但会很容易转换为C#。
It is very simple, and all functions are standard functions in opencv. It is Python, but will be easy to convert to C#.
这篇关于OpenCV的骨架在C#的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!