Ask Your Question

Davit's profile - activity

2019-06-17 05:03:06 -0600 received badge  Popular Question (source)
2016-03-29 11:00:34 -0600 received badge  Enthusiast
2016-03-26 04:44:03 -0600 commented question How does it work OpenCV Mser for color images?

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.

2016-03-25 07:58:00 -0600 asked a question How does it work OpenCV Mser for color images?

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.

2015-07-23 09:54:06 -0600 received badge  Editor (source)
2015-07-23 09:53:31 -0600 asked a question Why the BorderType option is absent in OpenCV MedianBlur?

I am working with OpenCV and I came to the question, why for example GaussianBlur have option for BorderType, but MedianBlur don't have?
I have researched about separable filters, maybe it's connected to that? Because GaussianBlur is separable, but MedianBlur not. I have read the open source code of MedianBlur, there were part of using BoxFilter and it's uses different padding such as:
- ippBorderConst
- ippBorderRepl
- ippBorderInMem
They are the same, as we have for cv::CopyMakeBorder, but the last one more 3 types of padding.
Maybe this is the answer, that they didn't use padding as a parameter, because in algorithm one part have 6 types of padding, the other one have only 3 of them ?
I want to handle that problem of padding in MedianBlur, that's why I need to know the exact reason of difference that blurring functions.

2015-07-10 04:10:07 -0600 received badge  Student (source)
2015-07-10 03:58:50 -0600 asked a question How to check image planar or interleaved?

While writing function to convert image type I need to know its planar or interleaved. I read a lot in OpenCV doc, but I couldn't find. Can somebody give a snippet of code?