/external/chromium-trace/catapult/telemetry/telemetry/util/ |
D | color_histogram_unittest.py | 14 hist2 = [] 15 self.assertEqual(color_histogram.HistogramDistance(hist1, hist2), 0) 18 hist2 = [0, 0, 0] 20 ValueError, lambda: color_histogram.HistogramDistance(hist1, hist2)) 24 hist2 = [1, 0] 26 ValueError, lambda: color_histogram.HistogramDistance(hist1, hist2)) 30 hist2 = [2, 4, 1, 8, 0, 0] 31 self.assertEqual(color_histogram.HistogramDistance(hist1, hist2), 0) 35 hist2 = [0, 0, 0, 0, 7] 36 self.assertEqual(color_histogram.HistogramDistance(hist1, hist2), 2) [all …]
|
D | color_histogram.py | 16 def HistogramDistance(hist1, hist2, default_color=None): argument 19 if len(hist1) != len(hist2): 21 'of different sizes, %s != %s' % (len(hist1), len(hist2))) 28 n2 = sum_func(hist2) 35 hist2[default_color] = 1 39 remainder = np.multiply(hist1, n2) - np.multiply(hist2, n1) 45 for value1, value2 in zip(hist1, hist2):
|
/external/opencv3/modules/cudalegacy/src/cuda/ |
D | fgd.cu | 168 …f1, const unsigned int* partialBuf2, unsigned int* hist0, unsigned int* hist1, unsigned int* hist2) in mergeHistogram() argument 193 hist2[blockIdx.x] = sum2; in mergeHistogram() 199 unsigned int* hist0, unsigned int* hist1, unsigned int* hist2, in calcDiffHistogram_gpu() argument 210 …, MERGE_THREADBLOCK_SIZE, 0, stream>>>(partialBuf0, partialBuf1, partialBuf2, hist0, hist1, hist2); in calcDiffHistogram_gpu() 217 …StepSzb curFrame, unsigned int* hist0, unsigned int* hist1, unsigned int* hist2, unsigned int* par… 218 …StepSzb curFrame, unsigned int* hist0, unsigned int* hist1, unsigned int* hist2, unsigned int* par… 219 …StepSzb curFrame, unsigned int* hist0, unsigned int* hist1, unsigned int* hist2, unsigned int* par… 220 …StepSzb curFrame, unsigned int* hist0, unsigned int* hist1, unsigned int* hist2, unsigned int* par…
|
D | fgd.hpp | 168 unsigned int* hist0, unsigned int* hist1, unsigned int* hist2,
|
/external/svox/pico/lib/ |
D | picoacph.c | 790 picoos_uint16 hist2; in acphAccentuation() local 826 hist2 = PICOKDT_HISTORY_ZERO; in acphAccentuation() 882 hist2 = hist1; in acphAccentuation() 901 hist1, hist2, nrwordspre, nrsyllspre, in acphAccentuation() 908 hist1, hist2, nrwordspre, nrsyllspre, in acphAccentuation()
|
D | picokdt.h | 410 const picoos_uint16 hist2,
|
D | picokdt.c | 2513 const picoos_uint16 hist2, in picokdt_dtACCconstructInVec() argument 2527 pre2, pre1, src, fol1, fol2, hist1, hist2, in picokdt_dtACCconstructInVec() 2540 case 6: inval = hist2; break; in picokdt_dtACCconstructInVec()
|
/external/opencv/cv/src/ |
D | cvhistogram.cpp | 400 const CvHistogram* hist2, in cvCompareHist() argument 413 if( !CV_IS_HIST(hist1) || !CV_IS_HIST(hist2) ) in cvCompareHist() 416 if( CV_IS_SPARSE_MAT(hist1->bins) != CV_IS_SPARSE_MAT(hist2->bins)) in cvCompareHist() 420 CV_CALL( dims2 = cvGetDims( hist2->bins, size2 )); in cvCompareHist() 441 CV_CALL( cvGetRawData( hist2->bins, &v.ptr )); in cvCompareHist() 514 CvSparseMat* mat2 = (CvSparseMat*)(hist2->bins); in cvCompareHist()
|
/external/opencv3/modules/imgproc/include/opencv2/imgproc/ |
D | imgproc_c.h | 742 const CvHistogram* hist2, 825 CVAPI(void) cvCalcProbDensity( const CvHistogram* hist1, const CvHistogram* hist2,
|
/external/opencv3/modules/imgproc/src/ |
D | histogram.cpp | 2886 const CvHistogram* hist2, in cvCompareHist() argument 2892 if( !CV_IS_HIST(hist1) || !CV_IS_HIST(hist2) ) in cvCompareHist() 2895 if( CV_IS_SPARSE_MAT(hist1->bins) != CV_IS_SPARSE_MAT(hist2->bins)) in cvCompareHist() 2901 cv::Mat H2 = cv::cvarrToMat(hist2->bins); in cvCompareHist() 2906 int dims2 = cvGetDims( hist2->bins, size2 ); in cvCompareHist() 2921 CvSparseMat* mat2 = (CvSparseMat*)(hist2->bins); in cvCompareHist() 3031 ((const CvSparseMat*)hist2->bins)->copyToSparseMat(sH2); in cvCompareHist()
|
/external/opencv/cv/include/ |
D | cv.h | 866 const CvHistogram* hist2, in LOAD_CHDL() 907 CVAPI(void) cvCalcProbDensity( const CvHistogram* hist1, const CvHistogram* hist2, in LOAD_CHDL()
|
/external/opencv3/modules/cudalegacy/src/ |
D | fgd.cpp | 157 unsigned int* hist0, unsigned int* hist1, unsigned int* hist2, in calcDiffHistogram()
|