added buf support into gpu::minMax

This commit is contained in:
Alexey Spizhevoy
2010-11-25 10:19:06 +00:00
parent b7e9c6229b
commit fa5422a2ad
4 changed files with 92 additions and 71 deletions

View File

@@ -424,6 +424,9 @@ namespace cv
//! finds global minimum and maximum array elements and returns their values
CV_EXPORTS void minMax(const GpuMat& src, double* minVal, double* maxVal=0);
//! finds global minimum and maximum array elements and returns their values
CV_EXPORTS void minMax(const GpuMat& src, double* minVal, double* maxVal, GpuMat& buf);
//! finds global minimum and maximum array elements and returns their values with locations
CV_EXPORTS void minMaxLoc(const GpuMat& src, double* minVal, double* maxVal=0, Point* minLoc=0, Point* maxLoc=0);