Does anybody know how to do morphological reconstruction using OpenCV (or emgu). Of course I can find the algorithm and implement it from scratch, but I was hoping this is not neccessary.
Some background. In matlab there is the imreconstruct operation. See: matlab imreconstruct example
It can do the following. The source image:
Eroding it gives
Reconstruction yields those characters that left something after erosion
Credits for the images go to Steve Eddins (as in the link above)