mirror of
https://github.com/opencv/opencv.git
synced 2024-11-26 04:00:30 +08:00
Fix for median blur of 2-channel images
This commit is contained in:
parent
22682f933a
commit
c61f7e5334
@ -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
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user