| 2681 | |
| 2682 | |
| 2683 | CV_IMPL void |
| 2684 | cvMinMaxLoc( const void* imgarr, double* _minVal, double* _maxVal, |
| 2685 | CvPoint* _minLoc, CvPoint* _maxLoc, const void* maskarr ) |
| 2686 | { |
| 2687 | cv::Mat mask, img = cv::cvarrToMat(imgarr, false, true, 1); |
| 2688 | if( maskarr ) |
| 2689 | mask = cv::cvarrToMat(maskarr); |
| 2690 | if( img.channels() > 1 ) |
| 2691 | cv::extractImageCOI(imgarr, img); |
| 2692 | |
| 2693 | cv::minMaxLoc( img, _minVal, _maxVal, |
| 2694 | (cv::Point*)_minLoc, (cv::Point*)_maxLoc, mask ); |
| 2695 | } |
| 2696 | |
| 2697 | |
| 2698 | CV_IMPL double |
no test coverage detected