使用C#或C ++分水岭 [英] Watershed using c# or c++
问题描述
我想转换的MATLAB函数分水岭
到C#或C ++。
I am trying to convert the Matlab function watershed
into C# or C++.
我试图用< A HREF =http://pastebin.com/KXnJ5XkP相对=nofollow>这段代码但 CvFindContours
收益 NULL
使用这个图片。
我也尝试过使用的这个实现但是我已经和 FilterGrayToGray
的问题。
I also tried to use this implementation but I had issues with FilterGrayToGray
.
有谁知道我怎么能解决我的问题,还是如何将我的图像上计算的分水岭? ?有人可以解释我更准确的迈尔斯洪水算法分水岭
Does anyone knows how I can solve my problems or how I can calculate watershed on my image? Can someone explain me more precisely meyers flood algorithm for watershed?
推荐答案
让你看了的分水岭算法通过提供OpenCV的?此外, 是如何使用的例子分水岭
与OpenCV的。希望对你有帮助!
Have you looked at the watershed algorithm provided by OpenCV? Also, here is an example of how to use watershed
with OpenCV. Hope that is helpful to you!
这篇关于使用C#或C ++分水岭的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!