OpenCV - Is there an implementation of marker based reconstruction in opencv

こ雲淡風輕ζ 提交于 2019-12-23 20:35:58

问题


Morphological reconstruction by opening is similar to basic morphological opening. However in contrast, reconstruction uses two images: a “seed” image, which specifies the values that spread, and a “mask” image.

Skimage has an implementation of it here http://scikit-image.org/docs/dev/api/skimage.morphology.html#skimage.morphology.reconstruction

Matlab has an implementation which is explained very well here. https://www.mathworks.com/tagteam/64199_91822v00_eddins_final.pdf

There is a StackOverflow post from year 2015 linked underneath which suggested a fairly good algorithm to address this issue. It has been two years since and I was wondering if a better implementation was released for opencv or if anyone has a better solution for the same.

Morphological Reconstruction in OpenCV

I would prefer to not mix 2 libraries (opencv and skimage) and am trying to find if there is an opencv method to do morphological reconstruction. I am not looking for ready to consume code any pointers are appreciated.

来源:https://stackoverflow.com/questions/42111467/opencv-is-there-an-implementation-of-marker-based-reconstruction-in-opencv

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!