Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Morphological reconstruction

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:

image description

Eroding it gives

image description

Reconstruction yields those characters that left something after erosion

image description

Credits for the images go to Steve Eddins (as in the link above)

click to hide/show revision 2
No.2 Revision

Morphological reconstruction

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:

image description

Eroding it gives

image description

Reconstruction yields those characters that left something after erosion

image description

Credits for the images go to Steve Eddins (as in the link above)