1 | initial version |
I think,mast is not a must.
int main( int argc, char** argv )
{
Mat im = imread("e:/template/lena.jpg", IMREAD_GRAYSCALE);
double minc[1], maxc[1];
minMaxLoc(im, minc, maxc,NULL,NULL);
cout<<minc[0];
return 0;
}
it works.