diff --git a/modules/imgproc/src/sumpixels.cpp b/modules/imgproc/src/sumpixels.cpp index 0e4a92347b..1c2012052e 100644 --- a/modules/imgproc/src/sumpixels.cpp +++ b/modules/imgproc/src/sumpixels.cpp @@ -234,6 +234,8 @@ integral( const Mat& src, Mat& sum, Mat* _sqsum, Mat* _tilted, int sdepth ) func = integral_; else if( depth == CV_8U && sdepth == CV_64F ) func = integral_; + else if( depth == CV_32F && sdepth == CV_32F ) + func = integral_; else if( depth == CV_32F && sdepth == CV_64F ) func = integral_; else if( depth == CV_64F && sdepth == CV_64F )