Merge pull request #6786 from terfendail:median_fix

This commit is contained in:
Alexander Alekhin 2016-07-11 10:02:43 +00:00
commit 88da03722f

View File

@ -2848,7 +2848,7 @@ void cv::medianBlur( InputArray _src0, OutputArray _dst, int ksize )
bool useSortNet = ksize == 3 || (ksize == 5
#if !(CV_SSE2 || CV_NEON)
&& src0.depth() > CV_8U
&& ( src0.depth() > CV_8U || src0.channels() == 2 || src0.channels() > 4 )
#endif
);