void MainWindow::Test_FindMeanAndMeanStd_P65_C3_12()
{
float a[12] = {1, 2, 3, 4, 5, 10, 6, 7, 8, 9, 10, 0};
Mat img = Mat(3, 4, CV_32FC1, a);
Mat imgs = Mat(2, 3, CV_32FC2, a);
cout << "get mean val" << endl;
Scalar myMean;
myMean = mean(imgs);
cout << "meanval:" << myMean << " val1: " << myMean[0] << " val2: " << myMean[1] << endl;
cout << "get mean std val" << endl;
Mat myMeanMat, myStdDevMat;
meanStdDev(img, myMeanMat, myStdDevMat);
cout << myMeanMat << ", " << myStdDevMat << endl;
meanStdDev(imgs, myMeanMat, myStdDevMat);
cout << myMeanMat << ", " << myStdDevMat << endl;
return;
}