mirror of
https://github.com/opencv/opencv.git
synced 2024-11-28 05:06:29 +08:00
Modified integral calculation function, know it can build float integral by float source matrix
This commit is contained in:
parent
9342c4b076
commit
d002c137ea
@ -234,6 +234,8 @@ integral( const Mat& src, Mat& sum, Mat* _sqsum, Mat* _tilted, int sdepth )
|
||||
func = integral_<uchar, float, double>;
|
||||
else if( depth == CV_8U && sdepth == CV_64F )
|
||||
func = integral_<uchar, double, double>;
|
||||
else if( depth == CV_32F && sdepth == CV_32F )
|
||||
func = integral_<float, float, double>;
|
||||
else if( depth == CV_32F && sdepth == CV_64F )
|
||||
func = integral_<float, double, double>;
|
||||
else if( depth == CV_64F && sdepth == CV_64F )
|
||||
|
Loading…
Reference in New Issue
Block a user