1

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);

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

4

1 回答 1

0

这里解释了另一种方法:http: //felix.abecassis.me/2011/09/opencv-morphological-skeleton/

以下是示例结果:

在此处输入图像描述 在此处输入图像描述

很简单,所有函数都是opencv中的标准函数。它是 Python,但很容易转换为 C#。

于 2012-05-19T06:26:34.167 回答