diff --git a/modules/cudafilters/include/opencv2/cudafilters.hpp b/modules/cudafilters/include/opencv2/cudafilters.hpp index fd28150f3..1519869f4 100644 --- a/modules/cudafilters/include/opencv2/cudafilters.hpp +++ b/modules/cudafilters/include/opencv2/cudafilters.hpp @@ -322,7 +322,11 @@ CV_EXPORTS_W Ptr createColumnSumFilter(int srcType, int dstType, int ksi @param windowSize Size of the kernerl used for the filtering. Uses a (windowSize x windowSize) filter. @param partition Specifies the parallel granularity of the workload. This parameter should be used GPU experts when optimizing performance. -Outputs an image that has been filtered using median-filtering formulation. +Outputs an image that has been filtered using a median-filtering formulation. + +Details on this algorithm can be found in: +Green, O., 2017. "Efficient scalable median filtering using histogram-based operations", + IEEE Transactions on Image Processing, 27(5), pp.2217-2228. */ CV_EXPORTS_W Ptr createMedianFilter(int srcType, int windowSize, int partition = 128); diff --git a/modules/cudafilters/src/cuda/median_filter.cu b/modules/cudafilters/src/cuda/median_filter.cu index cbc53f4b4..f6be58d62 100644 --- a/modules/cudafilters/src/cuda/median_filter.cu +++ b/modules/cudafilters/src/cuda/median_filter.cu @@ -40,6 +40,11 @@ // //M*/ +// Details on this algorithm can be found in: +// Green, O., 2017. "Efficient scalable median filtering using histogram-based operations", +// IEEE Transactions on Image Processing, 27(5), pp.2217-2228. + + #if !defined CUDA_DISABLER #include "opencv2/core/cuda/common.hpp"