Quantcast
Channel: OpenCV Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 41027

Why the BorderType option is absent in OpenCV MedianBlur?

$
0
0
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.

Viewing all articles
Browse latest Browse all 41027

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>