Home
last modified time | relevance | path

Searched refs:HISTOGRAM_BIN_COUNT (Results 1 – 3 of 3) sorted by relevance

/external/opencv3/modules/cudalegacy/src/cuda/
Dfgd.cu96 const int HISTOGRAM_THREADBLOCK_MEMORY = HISTOGRAM_WARP_COUNT * HISTOGRAM_BIN_COUNT; in calcPartialHistogram()
115 unsigned int* s_WarpHist0 = s_Hist0 + warpId * HISTOGRAM_BIN_COUNT; in calcPartialHistogram()
116 unsigned int* s_WarpHist1 = s_Hist1 + warpId * HISTOGRAM_BIN_COUNT; in calcPartialHistogram()
117 unsigned int* s_WarpHist2 = s_Hist2 + warpId * HISTOGRAM_BIN_COUNT; in calcPartialHistogram()
142 … for (unsigned int bin = threadIdx.x; bin < HISTOGRAM_BIN_COUNT; bin += HISTOGRAM_THREADBLOCK_SIZE) in calcPartialHistogram()
152 sum0 += s_Hist0[bin + i * HISTOGRAM_BIN_COUNT] & TAG_MASK; in calcPartialHistogram()
153 sum1 += s_Hist1[bin + i * HISTOGRAM_BIN_COUNT] & TAG_MASK; in calcPartialHistogram()
154 sum2 += s_Hist2[bin + i * HISTOGRAM_BIN_COUNT] & TAG_MASK; in calcPartialHistogram()
156 sum0 += s_Hist0[bin + i * HISTOGRAM_BIN_COUNT]; in calcPartialHistogram()
157 sum1 += s_Hist1[bin + i * HISTOGRAM_BIN_COUNT]; in calcPartialHistogram()
[all …]
Dfgd.hpp164 const int HISTOGRAM_BIN_COUNT = 256; variable
/external/opencv3/modules/cudalegacy/src/
Dfgd.cpp169 histBuf.create(3, fgd::PARTIAL_HISTOGRAM_COUNT * fgd::HISTOGRAM_BIN_COUNT, CV_32SC1); in calcDiffHistogram()
178 …cRelativeVariance(unsigned int hist[3 * 256], double relativeVariance[3][fgd::HISTOGRAM_BIN_COUNT]) in calcRelativeVariance() argument
180 std::memset(relativeVariance, 0, 3 * fgd::HISTOGRAM_BIN_COUNT * sizeof(double)); in calcRelativeVariance()
182 for (int thres = fgd::HISTOGRAM_BIN_COUNT - 2; thres >= 0; --thres) in calcRelativeVariance()
188 for (int j = thres; j < fgd::HISTOGRAM_BIN_COUNT; ++j) in calcRelativeVariance()
246 double relativeVariance[3][fgd::HISTOGRAM_BIN_COUNT]; in changeDetection()
251 for (int i = 0; i < fgd::HISTOGRAM_BIN_COUNT; ++i) in changeDetection()