/external/opencv3/samples/python2/ |
hist.py | 13 Usage : python hist.py <image_file> 32 hist=np.int32(np.around(hist_item)) 33 pts = np.int32(np.column_stack((bins,hist))) 46 hist=np.int32(np.around(hist_item)) 47 for x,y in enumerate(hist): 61 print "usage : python hist.py <image_file>"
|
camshift.py | 64 bin_count = self.hist.shape[0] 68 h = int(self.hist[i]) 71 cv2.imshow('hist', img) 85 hist = cv2.calcHist( [hsv_roi], [0], mask_roi, [16], [0, 180] ) 86 cv2.normalize(hist, hist, 0, 255, cv2.NORM_MINMAX); 87 self.hist = hist.reshape(-1) 96 prob = cv2.calcBackProject([hsv], [0], self.hist, [0, 180], 1)
|
digits.py | 137 hist = np.hstack(hists) 141 hist /= hist.sum() + eps 142 hist = np.sqrt(hist) 143 hist /= norm(hist) + eps 145 samples.append(hist)
|
/external/blktrace/btt/ |
unplug_hist.c | 30 int hist[NBKTS * sizeof(int)]; member in struct:hist_bkt 41 memset(hbp->hist, 0, NBKTS * sizeof(int)); 60 hbp->hist[idx]++; 78 fprintf(fp, "%d %d\n", i, hbp->hist[i]);
|
/external/libvorbis/vq/ |
bookutil.h | 39 extern void build_tree_from_lengths(int vals, long *hist, long *lengths); 40 extern void build_tree_from_lengths0(int vals, long *hist, long *lengths);
|
/frameworks/base/core/res/res/raw-sk/ |
incognito_mode_start_page.html | 7 <p><strong>Ste v re?ime inkognito</strong> Stránky, ktoré si pozriete v tomto okne, sa nezobrazia v histórii prehliada?a ani v histórii vyh?adávania. Po zavretí okna inkognito na zariadení nezostanú ani ?iadne iné stopy, ako sú napr. súbory cookie. Napriek tomu v?ak zostanú zachované v?etky prevzaté súbory aj zálo?ky, ktoré ste vytvorili.</p>
|
/frameworks/base/core/res/res/raw-sk-xlarge/ |
incognito_mode_start_page.html | 7 <p><strong>Ste v re?ime inkognito</strong> Stránky, ktoré si pozriete v tomto okne, sa nezobrazia v histórii prehliada?a ani v histórii vyh?adávania. Po zavretí okna inkognito na zariadení nezostanú ani ?iadne iné stopy, ako sú napr. súbory cookie. Napriek tomu v?ak zostanú zachované v?etky prevzaté súbory aj zálo?ky, ktoré ste vytvorili.</p>
|
/toolchain/binutils/binutils-2.25/gprof/po/ |
gprof.pot | 39 #: basic_blocks.c:129 call_graph.c:89 hist.c:107 124 #: cg_print.c:80 hist.c:471 174 #: cg_print.c:103 hist.c:497 427 #: hist.c:135 435 #: hist.c:145 443 #: hist.c:159 448 #: hist.c:196 453 #: hist.c:230 458 #: hist.c:467 463 #: hist.c:47 [all...] |
/external/opencv3/modules/cudaimgproc/src/cuda/ |
generalized_hough.cu | 210 PtrStepSzi hist, 236 if (c.x >= 0 && c.x < hist.cols - 2 && c.y >= 0 && c.y < hist.rows - 2) 237 ::atomicAdd(hist.ptr(c.y + 1) + c.x + 1, 1); 243 PtrStepSzi hist, 252 Ballard_Pos_calcHist<<<grid, block>>>(coordList, thetaList, pointsCount, r_table, r_sizes, hist, idp, thetaScale); 258 __global__ void Ballard_Pos_findPosInHist(const PtrStepSzi hist, float4* out, int3* votes, 264 if (x >= hist.cols - 2 || y >= hist.rows - 2) 267 const int curVotes = hist(y + 1, x + 1) [all...] |
/external/opencv3/samples/android/image-manipulations/src/org/opencv/samples/imagemanipulations/ |
ImageManipulationsActivity.java | 221 Mat hist = new Mat(); local 227 Imgproc.calcHist(Arrays.asList(rgba), mChannels[c], mMat0, hist, mHistSize, mRanges); local 228 Core.normalize(hist, hist, sizeRgba.height/2, 0, Core.NORM_INF); 229 hist.get(0, 0, mBuff); 240 Imgproc.calcHist(Arrays.asList(mIntermediateMat), mChannels[2], mMat0, hist, mHistSize, mRanges); local 241 Core.normalize(hist, hist, sizeRgba.height/2, 0, Core.NORM_INF); 242 hist.get(0, 0, mBuff); 250 Imgproc.calcHist(Arrays.asList(mIntermediateMat), mChannels[0], mMat0, hist, mHistSize, mRanges) local [all...] |
/external/opencv/cv/src/ |
cvthresh.cpp | 197 icvGetThreshVal_Otsu( const CvHistogram* hist ) 214 if( !CV_IS_HIST(hist) || CV_IS_SPARSE_HIST(hist) || hist->mat.dims != 1 ) 218 count = hist->mat.dim[0].size; 219 h = (float*)cvPtr1D( hist->bins, 0 ); 221 if( !CV_HIST_HAS_RANGES(hist) || CV_IS_UNIFORM_HIST(hist) ) 223 if( CV_HIST_HAS_RANGES(hist) ) 225 low = hist->thresh[0][0] 299 CvHistogram* hist = 0; local [all...] |
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
IntrinsicHistogram.java | 89 ScriptIntrinsicHistogram hist = local 91 hist.setOutput(mAout); 92 hist.forEach(mAin, makeClipper(x1, y1, x2, y2)); 213 ScriptIntrinsicHistogram hist = local 215 hist.setOutput(mAout); 216 hist.setDotCoefficients(dotVals[0], dotVals[1], dotVals[2], dotVals[3]); 217 hist.forEach_Dot(mAin, makeClipper(x1, y1, x2, y2));
|
/prebuilts/go/darwin-x86/src/compress/flate/ |
inflate.go | 279 hist *[maxHist]byte 281 hw int // have written hist[0:hw] already 480 f.hist[f.hp] = byte(v) 482 if f.hp == len(f.hist) { 571 if dist > len(f.hist) { 589 // copyHist copies f.copyLen bytes from f.hist (f.copyDist bytes ago) to itself. 590 // It reports whether the f.hist buffer is full. 594 p += len(f.hist) 598 if x := len(f.hist) - f.hp; n > x { 601 if x := len(f.hist) - p; n > x [all...] |
/prebuilts/go/linux-x86/src/compress/flate/ |
inflate.go | 279 hist *[maxHist]byte 281 hw int // have written hist[0:hw] already 480 f.hist[f.hp] = byte(v) 482 if f.hp == len(f.hist) { 571 if dist > len(f.hist) { 589 // copyHist copies f.copyLen bytes from f.hist (f.copyDist bytes ago) to itself. 590 // It reports whether the f.hist buffer is full. 594 p += len(f.hist) 598 if x := len(f.hist) - f.hp; n > x { 601 if x := len(f.hist) - p; n > x [all...] |
/cts/apps/CameraITS/tests/inprog/ |
test_param_black_level_lock.py | 58 hist,_ = numpy.histogram(yimg*255, 256, (0,256)) 59 modes.append(numpy.argmax(hist)) 63 pylab.plot(range(16), hist.tolist()[:16])
|
/external/opencv3/apps/traincascade/ |
HOGfeatures.h | 49 std::vector<cv::Mat> hist; member in class:CvHOGEvaluator 56 //return features[featureIdx].calc( hist, sampleIdx, componentIdx); 57 return features[featureIdx].calc( hist, normSum, sampleIdx, componentIdx);
|
/external/opencv3/modules/objdetect/test/ |
test_cascadeandhog.cpp | 871 float* hist = blockHist + pk.histOfs[0]; local 872 float t0 = hist[h0] + a[0]*w; 873 float t1 = hist[h1] + a[1]*w; 874 hist[h0] = t0; hist[h1] = t1; 885 float* hist = blockHist + pk.histOfs[0]; local 887 t0 = hist[h0] + a0*w; 888 t1 = hist[h1] + a1*w; 889 hist[h0] = t0; hist[h1] = t1 906 float* hist = blockHist + pk.histOfs[0]; local 938 float* hist = &_hist[0], partSum[4] = { 0.0f, 0.0f, 0.0f, 0.0f }; local [all...] |
/external/opencv3/modules/cudev/include/opencv2/cudev/grid/detail/ |
histogram.hpp | 57 __global__ void histogram(const SrcPtr src, ResType* hist, const MaskPtr mask, const int rows, const int cols) 88 atomicAdd(hist + i, histVal); 94 __host__ void histogram(const SrcPtr& src, ResType* hist, const MaskPtr& mask, int rows, int cols, cudaStream_t stream) 101 histogram<BIN_COUNT, BLOCK_SIZE><<<grid, block, 0, stream>>>(src, hist, mask, rows, cols);
|
/external/chromium-trace/catapult/tracing/tracing/metrics/v8/ |
gc_metric.html | 94 var hist = new tr.v.Histogram(name, unit); 96 hist.addSample(0); 98 hist.addSample(numerator / denominator); 99 hist.customizeSummaryOptions({ 108 return hist; 319 var hist = new tr.v.Histogram( 322 hist.addSample(mutatorUtilization.percentile(1.0 - percent)); 323 values.addHistogram(hist); 325 var hist = new tr.v.Histogram( 327 hist.addSample(mutatorUtilization.min) [all...] |
/external/opencv3/modules/cudaimgproc/test/ |
test_histogram.cpp | 73 cv::cuda::GpuMat hist; local 74 cv::cuda::histEven(loadMat(src), hist, hbins, (int) hranges[0], (int) hranges[1]); local 86 EXPECT_MAT_NEAR(hist_gold, hist, 0.0); 115 cv::cuda::GpuMat hist; local 116 cv::cuda::calcHist(loadMat(src), hist); local 130 EXPECT_MAT_NEAR(hist_gold, hist, 0.0);
|
/external/opencv3/samples/cpp/ |
camshiftdemo.cpp | 102 Mat frame, hsv, hue, mask, hist, histimg = Mat::zeros(200, 320, CV_8UC3), backproj; local 133 calcHist(&roi, 1, 0, maskroi, hist, 1, &hsize, &phranges); 134 normalize(hist, hist, 0, 255, NORM_MINMAX); 148 int val = saturate_cast<int>(hist.at<float>(i)*histimg.rows/255); 155 calcBackProject(&hue, 1, 0, hist, backproj, &phranges);
|
/frameworks/support/v7/palette/src/main/java/android/support/v7/graphics/ |
ColorCutQuantizer.java | 75 final int[] hist = mHistogram = new int[1 << (QUANTIZE_WORD_WIDTH * 3)]; local 81 hist[quantizedColor]++; 90 for (int color = 0; color < hist.length; color++) { 91 if (hist[color] > 0 && shouldIgnoreColor(color)) { 93 hist[color] = 0; 95 if (hist[color] > 0) { 108 for (int color = 0; color < hist.length; color++) { 109 if (hist[color] > 0) { 122 mQuantizedColors.add(new Swatch(approximateToRgb888(color), hist[color])); 246 final int[] hist = mHistogram local 342 final int[] hist = mHistogram; local 371 final int[] hist = mHistogram; local [all...] |
/external/llvm/lib/LineEditor/ |
LineEditor.cpp | 100 History *Hist; 203 Data->Hist = ::history_init(); 204 assert(Data->Hist); 211 ::el_set(Data->EL, EL_HIST, history, Data->Hist); 224 ::history(Data->Hist, &HE, H_SETSIZE, 800); 225 ::history(Data->Hist, &HE, H_SETUNIQUE, 1); 232 ::history_end(Data->Hist); 240 ::history(Data->Hist, &HE, H_SAVE, HistoryPath.c_str()); 247 ::history(Data->Hist, &HE, H_LOAD, HistoryPath.c_str()); 267 ::history(Data->Hist, &HE, H_ENTER, Line) [all...] |
/toolchain/binutils/binutils-2.25/gprof/ |
hist.c | 0 /* hist.c - Histogram related operations. 31 #include "hist.h" 303 sym->hist.scaled_addr = sym->addr / sizeof (UNIT); 307 bin_of_entry = (sym->hist.scaled_addr - r->lowpc) / hist_scale; 308 bin_of_code = ((sym->hist.scaled_addr + UNITS_TO_CODE - r->lowpc) 314 (unsigned long) sym->hist.scaled_addr, 315 (unsigned long) (sym->hist.scaled_addr 317 sym->hist.scaled_addr += UNITS_TO_CODE; 398 sym_low_pc = symtab.base[j].hist.scaled_addr; 399 sym_high_pc = symtab.base[j + 1].hist.scaled_addr [all...] |
/external/opencv3/modules/calib3d/src/ |
quadsubpix.cpp | 118 static int segment_hist_max(const Mat& hist, int& low_thresh, int& high_thresh) 121 double total_sum = sum(hist).val[0]; 131 for(int x = 0; x < hist.size[0]; x++) 133 quantile_sum += hist.at<float>(x); 173 Mat hist; local 182 calcHist(&img_roi, 1, &channels, Mat(), hist, 1, &nbins, &_ranges); 185 segment_hist_max(hist, black_thresh, white_thresh);
|