Fix for median blur of 2-channel images

This commit is contained in:
Vitaly Tuzov 2016-07-07 15:58:05 +03:00
parent 22682f933a
commit c61f7e5334

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
);