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/...) implementation discards the hierarchy of Regions, so i tried to use ERfilter (https://github.com/Itseez/opencv_cont...). 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!
How do you think that MSER discards the hierarchy of regions?