Ask Your Question

Revision history [back]

get hierarchy of extremal regions with MSER/ERFilter

Hi, i want to get the hierarchy of extremal regions of an image. OpenCVs MSER (http://docs.opencv.org/master/d3/d28/classcv_1_1MSER.html#a49d72a1346413106516a7fc6d95c09bb) implementation discards the hierarchy of Regions, so i tried to use ERfilter (https://github.com/Itseez/opencv_contrib/blob/master/modules/text/samples/textdetection.cpp). With ERFilter the hierarchy of the regions is preserved, but i do not see how to get the contour/the exact shape of the region.

Is there a way to get the hierarchy AND the list of pixels that belong to the region?

thanks in advance!