Home
last modified time | relevance | path

Searched refs:relativeVariance (Results 1 – 2 of 2) sorted by relevance

/external/opencv3/modules/cudalegacy/src/
Dfgd.cpp178 …void calcRelativeVariance(unsigned int hist[3 * 256], double relativeVariance[3][fgd::HISTOGRAM_BI… in calcRelativeVariance()
180 std::memset(relativeVariance, 0, 3 * fgd::HISTOGRAM_BIN_COUNT * sizeof(double)); in calcRelativeVariance()
213 relativeVariance[0][thres] = std::sqrt(sqsum[0] / count[0] - my[0] * my[0]); in calcRelativeVariance()
214 relativeVariance[1][thres] = std::sqrt(sqsum[1] / count[1] - my[1] * my[1]); in calcRelativeVariance()
215 relativeVariance[2][thres] = std::sqrt(sqsum[2] / count[2] - my[2] * my[2]); in calcRelativeVariance()
246 double relativeVariance[3][fgd::HISTOGRAM_BIN_COUNT]; in changeDetection() local
247 calcRelativeVariance(histData, relativeVariance); in changeDetection()
253 bestThres[0] = std::max(bestThres[0], relativeVariance[0][i]); in changeDetection()
254 bestThres[1] = std::max(bestThres[1], relativeVariance[1][i]); in changeDetection()
255 bestThres[2] = std::max(bestThres[2], relativeVariance[2][i]); in changeDetection()
/external/opencv/cvaux/src/
Dcvbgfg_acmmm2003.cpp263 double relativeVariance[PIXELRANGE]; in cvChangeDetection() local
264 for (i=0 ; i<PIXELRANGE; i++) relativeVariance[i]=0; in cvChangeDetection()
284 relativeVariance[thres] = sigma; in cvChangeDetection()
291 double* pBestThres = _cv_max_element(relativeVariance, relativeVariance+PIXELRANGE); in cvChangeDetection()