double Time = (double)cvGetTickCount();// 算法过程Time = (double)cvGetTickCount() - Time ; printf( "run time = %gms\n", Time /(cvGetTickFrequency()*1000) );//毫秒 printf( "run time = %gs\n", Time /(cvGetTickFrequency()*1000000) );//秒…
对于一个区域,怎么进一步针对区域内部特征进行处理呢 ? 首先,我们要提取出来内部的某些特征才能说话,下面提取一些简单的特征,话不多说见代码: 1.平均数及方差参数: Mat tempMean, tempStddv; double MEAN, STDDV;// mean and standard deviation of the flame region ]; //cout << "mean=" << m << endl; meanStdDev(fla…