How does it work OpenCV Mser for color images? [closed]
I am using OpenCV Mser class.
For grayscale images I don't have any problems, reults are good and parameters defined in documentation influences to algorithm logically :
- delta - it compares (sizei−sizei−delta)/sizei−delta
- min_area - prune the area which smaller than minArea
- max_area - prune the area which bigger than maxArea
- max_variation - prune the area have simliar size to its children
But I have problems with Mser for color images. I have looked to the source code and didn't find separate implementation for colored images(here is link of source code: https://github.com/Itseez/opencv/blob... ). The main important thing to understand if it finds regions by using threshold levels of an image, what is the equation for the "delta" parameter, it should be different from equation defined for gray images. If it uses another algorithm, the exact meanings of the parameters mentioned below :
- maxEvolution; //! for color image, the evolution steps
- areaThreshold; //! the area threshold to cause re-initialize
- minMargin; //! ignore too small margin
because result of function for color images isn't descriptive, there are a lot of regions and it's hard to udnerstand how algorithm works.
I think there is a three papers used in opencv mser :
paper 3 is for color image
Yeah I know, I have researched all of them.
The thing is I see unadequacy between research paper for color images and reserahc paper for color images. I was hoping someone know about source code for color images, which I can't find.
I can't demonstrate here any result to explain difference between OpenCV results and paper.
Check this article out, https://pdfs.semanticscholar.org/174e...