hist 491 3rdparty/libpng/png.c png_free(png_ptr, info_ptr->hist); hist 492 3rdparty/libpng/png.c info_ptr->hist = NULL; hist 2156 3rdparty/libpng/png.h png_uint_16p *hist)); hist 2161 3rdparty/libpng/png.h png_infop info_ptr, png_const_uint_16p hist)); hist 720 3rdparty/libpng/pngget.c png_uint_16p *hist) hist 725 3rdparty/libpng/pngget.c && hist != NULL) hist 727 3rdparty/libpng/pngget.c *hist = info_ptr->hist; hist 183 3rdparty/libpng/pnginfo.h png_uint_16p hist; hist 881 3rdparty/libpng/pngpriv.h png_const_uint_16p hist, int num_hist)); hist 1066 3rdparty/libpng/pngread.c png_free(png_ptr, png_ptr->hist); hist 177 3rdparty/libpng/pngset.c png_set_hIST(png_structp png_ptr, png_infop info_ptr, png_const_uint_16p hist) hist 200 3rdparty/libpng/pngset.c png_ptr->hist = (png_uint_16p)png_malloc_warn(png_ptr, hist 203 3rdparty/libpng/pngset.c if (png_ptr->hist == NULL) hist 210 3rdparty/libpng/pngset.c png_ptr->hist[i] = hist[i]; hist 212 3rdparty/libpng/pngset.c info_ptr->hist = png_ptr->hist; hist 237 3rdparty/libpng/pngstruct.h png_uint_16p hist; /* histogram */ hist 167 3rdparty/libpng/pngwrite.c png_write_hIST(png_ptr, info_ptr->hist, info_ptr->num_palette); hist 1483 3rdparty/libpng/pngwutil.c png_write_hIST(png_structp png_ptr, png_const_uint_16p hist, int num_hist) hist 1503 3rdparty/libpng/pngwutil.c png_save_uint_16(buf, hist[i]); hist 23 apps/traincascade/HOGfeatures.cpp hist.push_back(Mat(_maxSampleCount, cols, CV_32FC1)); hist 31 apps/traincascade/HOGfeatures.cpp CV_DbgAssert( !hist.empty()); hist 36 apps/traincascade/HOGfeatures.cpp integralHist.push_back( Mat(winSize.height + 1, winSize.width + 1, hist[bin].type(), hist[bin].ptr<float>((int)idx)) ); hist 49 apps/traincascade/HOGfeatures.h std::vector<cv::Mat> hist; hist 57 apps/traincascade/HOGfeatures.h return features[featureIdx].calc( hist, normSum, sampleIdx, componentIdx); hist 1262 modules/calib3d/src/calibinit.cpp int hist[5] = {0,0,0,0,0}; hist 1321 modules/calib3d/src/calibinit.cpp hist[n]++; hist 1336 modules/calib3d/src/calibinit.cpp if( !first || hist[0] != 0 || hist[1] != 0 || hist[2] != 4 || hist 1337 modules/calib3d/src/calibinit.cpp hist[3] != (pattern_size.width + pattern_size.height)*2 - 8 ) hist 118 modules/calib3d/src/quadsubpix.cpp static int segment_hist_max(const Mat& hist, int& low_thresh, int& high_thresh) hist 121 modules/calib3d/src/quadsubpix.cpp double total_sum = sum(hist).val[0]; hist 131 modules/calib3d/src/quadsubpix.cpp for(int x = 0; x < hist.size[0]; x++) hist 133 modules/calib3d/src/quadsubpix.cpp quantile_sum += hist.at<float>(x); hist 173 modules/calib3d/src/quadsubpix.cpp Mat hist; hist 182 modules/calib3d/src/quadsubpix.cpp calcHist(&img_roi, 1, &channels, Mat(), hist, 1, &nbins, &_ranges); hist 185 modules/calib3d/src/quadsubpix.cpp segment_hist_max(hist, black_thresh, white_thresh); hist 758 modules/core/include/opencv2/core/types_c.h #define CV_IS_HIST( hist ) \ hist 759 modules/core/include/opencv2/core/types_c.h ((hist) != NULL && \ hist 760 modules/core/include/opencv2/core/types_c.h (((CvHistogram*)(hist))->type & CV_MAGIC_MASK) == CV_HIST_MAGIC_VAL && \ hist 761 modules/core/include/opencv2/core/types_c.h (hist)->bins != NULL) hist 763 modules/core/include/opencv2/core/types_c.h #define CV_IS_UNIFORM_HIST( hist ) \ hist 764 modules/core/include/opencv2/core/types_c.h (((hist)->type & CV_HIST_UNIFORM_FLAG) != 0) hist 766 modules/core/include/opencv2/core/types_c.h #define CV_IS_SPARSE_HIST( hist ) \ hist 767 modules/core/include/opencv2/core/types_c.h CV_IS_SPARSE_MAT((hist)->bins) hist 769 modules/core/include/opencv2/core/types_c.h #define CV_HIST_HAS_RANGES( hist ) \ hist 770 modules/core/include/opencv2/core/types_c.h (((hist)->type & CV_HIST_RANGES_FLAG) != 0) hist 2721 modules/core/test/test_math.cpp Mat hist(K, 1, CV_32S, Scalar(0)); hist 2726 modules/core/test/test_math.cpp hist.at<int>(l)++; hist 2729 modules/core/test/test_math.cpp CV_Assert( hist.at<int>(i) != 0 ); hist 12 modules/core/test/test_rand.cpp bool check_pdf(const Mat& hist, double scale, int dist_type, hist 36 modules/core/test/test_rand.cpp bool Core_RandTest::check_pdf(const Mat& hist, double scale, hist 39 modules/core/test/test_rand.cpp Mat hist0(hist.size(), CV_32F); hist 40 modules/core/test/test_rand.cpp const int* H = hist.ptr<int>(); hist 42 modules/core/test/test_rand.cpp int i, hsz = hist.cols; hist 118 modules/core/test/test_rand.cpp Mat arr[2], hist[4]; hist 160 modules/core/test/test_rand.cpp hist[c].create(1, hsz, CV_32S); hist 187 modules/core/test/test_rand.cpp int* H = hist[c].ptr<int>(); hist 188 modules/core/test/test_rand.cpp int HSZ = hist[c].cols; hist 194 modules/core/test/test_rand.cpp hist[c] = Scalar::all(0); hist 241 modules/core/test/test_rand.cpp if( !check_pdf(hist[c], 1./W[c], dist_type, refval, realval) ) hist 202 modules/cudaimgproc/include/opencv2/cudaimgproc.hpp CV_EXPORTS void calcHist(InputArray src, OutputArray hist, Stream& stream = Stream::Null()); hist 257 modules/cudaimgproc/include/opencv2/cudaimgproc.hpp CV_EXPORTS void histEven(InputArray src, OutputArray hist, int histSize, int lowerLevel, int upperLevel, Stream& stream = Stream::Null()); hist 259 modules/cudaimgproc/include/opencv2/cudaimgproc.hpp CV_EXPORTS void histEven(InputArray src, GpuMat hist[4], int histSize[4], int lowerLevel[4], int upperLevel[4], Stream& stream = Stream::Null()); hist 269 modules/cudaimgproc/include/opencv2/cudaimgproc.hpp CV_EXPORTS void histRange(InputArray src, OutputArray hist, InputArray levels, Stream& stream = Stream::Null()); hist 271 modules/cudaimgproc/include/opencv2/cudaimgproc.hpp CV_EXPORTS void histRange(InputArray src, GpuMat hist[4], const GpuMat levels[4], Stream& stream = Stream::Null()); hist 68 modules/cudaimgproc/src/generalized_hough.cpp PtrStepSzi hist, hist 70 modules/cudaimgproc/src/generalized_hough.cpp int Ballard_Pos_findPosInHist_gpu(PtrStepSzi hist, float4* out, int3* votes, int maxSize, float dp, int threshold); hist 93 modules/cudaimgproc/src/generalized_hough.cpp int Guil_Full_findPosInHist_gpu(PtrStepSzi hist, float4* out, int3* votes, int curSize, int maxSize, hist 71 modules/cudaimgproc/src/histogram.cpp void histogram256(PtrStepSzb src, int* hist, cudaStream_t stream); hist 81 modules/cudaimgproc/src/histogram.cpp GpuMat hist = _hist.getGpuMat(); hist 83 modules/cudaimgproc/src/histogram.cpp hist.setTo(Scalar::all(0), stream); hist 85 modules/cudaimgproc/src/histogram.cpp hist::histogram256(src, hist.ptr<int>(), StreamAccessor::getStream(stream)); hist 113 modules/cudaimgproc/src/histogram.cpp GpuMat hist(1, 256, CV_32SC1, buf.data); hist 117 modules/cudaimgproc/src/histogram.cpp cuda::calcHist(src, hist, _stream); hist 122 modules/cudaimgproc/src/histogram.cpp nppSafeCall( nppsIntegral_32s(hist.ptr<Npp32s>(), lut.ptr<Npp32s>(), 256, intBuf.ptr<Npp8u>()) ); hist 124 modules/cudaimgproc/src/histogram.cpp hist::equalizeHist(src, dst, lut.ptr<int>(), stream); hist 289 modules/cudaimgproc/src/histogram.cpp GpuMat hist = _hist.getGpuMat(); hist 303 modules/cudaimgproc/src/histogram.cpp nppSafeCall( func(src.ptr<src_t>(), static_cast<int>(src.step), sz, hist.ptr<Npp32s>(), levels, hist 315 modules/cudaimgproc/src/histogram.cpp static void hist(const GpuMat& src, GpuMat hist[4], int histSize[4], int lowerLevel[4], int upperLevel[4], Stream& stream) hist 318 modules/cudaimgproc/src/histogram.cpp hist[0].create(1, histSize[0], CV_32S); hist 319 modules/cudaimgproc/src/histogram.cpp hist[1].create(1, histSize[1], CV_32S); hist 320 modules/cudaimgproc/src/histogram.cpp hist[2].create(1, histSize[2], CV_32S); hist 321 modules/cudaimgproc/src/histogram.cpp hist[3].create(1, histSize[3], CV_32S); hist 327 modules/cudaimgproc/src/histogram.cpp Npp32s* pHist[] = {hist[0].ptr<Npp32s>(), hist[1].ptr<Npp32s>(), hist[2].ptr<Npp32s>(), hist[3].ptr<Npp32s>()}; hist 393 modules/cudaimgproc/src/histogram.cpp GpuMat hist = _hist.getGpuMat(); hist 407 modules/cudaimgproc/src/histogram.cpp nppSafeCall( func(src.ptr<src_t>(), static_cast<int>(src.step), sz, hist.ptr<Npp32s>(), levels.ptr<level_t>(), levels.cols, buf.ptr<Npp8u>()) ); hist 420 modules/cudaimgproc/src/histogram.cpp static void hist(const GpuMat& src, GpuMat hist[4], const GpuMat levels[4], Stream& stream) hist 427 modules/cudaimgproc/src/histogram.cpp hist[0].create(1, levels[0].cols - 1, CV_32S); hist 428 modules/cudaimgproc/src/histogram.cpp hist[1].create(1, levels[1].cols - 1, CV_32S); hist 429 modules/cudaimgproc/src/histogram.cpp hist[2].create(1, levels[2].cols - 1, CV_32S); hist 430 modules/cudaimgproc/src/histogram.cpp hist[3].create(1, levels[3].cols - 1, CV_32S); hist 432 modules/cudaimgproc/src/histogram.cpp Npp32s* pHist[] = {hist[0].ptr<Npp32s>(), hist[1].ptr<Npp32s>(), hist[2].ptr<Npp32s>(), hist[3].ptr<Npp32s>()}; hist 476 modules/cudaimgproc/src/histogram.cpp void histEven8u(PtrStepSzb src, int* hist, int binCount, int lowerLevel, int upperLevel, cudaStream_t stream); hist 481 modules/cudaimgproc/src/histogram.cpp void histEven8u(const GpuMat& src, GpuMat& hist, int histSize, int lowerLevel, int upperLevel, cudaStream_t stream) hist 483 modules/cudaimgproc/src/histogram.cpp hist.create(1, histSize, CV_32S); hist 484 modules/cudaimgproc/src/histogram.cpp cudaSafeCall( cudaMemsetAsync(hist.data, 0, histSize * sizeof(int), stream) ); hist 485 modules/cudaimgproc/src/histogram.cpp hist::histEven8u(src, hist.ptr<int>(), histSize, lowerLevel, upperLevel, stream); hist 489 modules/cudaimgproc/src/histogram.cpp void cv::cuda::histEven(InputArray _src, OutputArray hist, int histSize, int lowerLevel, int upperLevel, Stream& stream) hist 491 modules/cudaimgproc/src/histogram.cpp typedef void (*hist_t)(const GpuMat& src, OutputArray hist, int levels, int lowerLevel, int upperLevel, Stream& stream); hist 494 modules/cudaimgproc/src/histogram.cpp NppHistogramEvenC1<CV_8U , nppiHistogramEven_8u_C1R , nppiHistogramEvenGetBufferSize_8u_C1R >::hist, hist 496 modules/cudaimgproc/src/histogram.cpp NppHistogramEvenC1<CV_16U, nppiHistogramEven_16u_C1R, nppiHistogramEvenGetBufferSize_16u_C1R>::hist, hist 497 modules/cudaimgproc/src/histogram.cpp NppHistogramEvenC1<CV_16S, nppiHistogramEven_16s_C1R, nppiHistogramEvenGetBufferSize_16s_C1R>::hist hist 504 modules/cudaimgproc/src/histogram.cpp histEven8u(src, hist.getGpuMatRef(), histSize, lowerLevel, upperLevel, StreamAccessor::getStream(stream)); hist 510 modules/cudaimgproc/src/histogram.cpp hist_callers[src.depth()](src, hist, histSize, lowerLevel, upperLevel, stream); hist 513 modules/cudaimgproc/src/histogram.cpp void cv::cuda::histEven(InputArray _src, GpuMat hist[4], int histSize[4], int lowerLevel[4], int upperLevel[4], Stream& stream) hist 515 modules/cudaimgproc/src/histogram.cpp typedef void (*hist_t)(const GpuMat& src, GpuMat hist[4], int levels[4], int lowerLevel[4], int upperLevel[4], Stream& stream); hist 518 modules/cudaimgproc/src/histogram.cpp NppHistogramEvenC4<CV_8U , nppiHistogramEven_8u_C4R , nppiHistogramEvenGetBufferSize_8u_C4R >::hist, hist 520 modules/cudaimgproc/src/histogram.cpp NppHistogramEvenC4<CV_16U, nppiHistogramEven_16u_C4R, nppiHistogramEvenGetBufferSize_16u_C4R>::hist, hist 521 modules/cudaimgproc/src/histogram.cpp NppHistogramEvenC4<CV_16S, nppiHistogramEven_16s_C4R, nppiHistogramEvenGetBufferSize_16s_C4R>::hist hist 528 modules/cudaimgproc/src/histogram.cpp hist_callers[src.depth()](src, hist, histSize, lowerLevel, upperLevel, stream); hist 531 modules/cudaimgproc/src/histogram.cpp void cv::cuda::histRange(InputArray _src, OutputArray hist, InputArray _levels, Stream& stream) hist 533 modules/cudaimgproc/src/histogram.cpp typedef void (*hist_t)(const GpuMat& src, OutputArray hist, const GpuMat& levels, Stream& stream); hist 536 modules/cudaimgproc/src/histogram.cpp NppHistogramRangeC1<CV_8U , nppiHistogramRange_8u_C1R , nppiHistogramRangeGetBufferSize_8u_C1R >::hist, hist 538 modules/cudaimgproc/src/histogram.cpp NppHistogramRangeC1<CV_16U, nppiHistogramRange_16u_C1R, nppiHistogramRangeGetBufferSize_16u_C1R>::hist, hist 539 modules/cudaimgproc/src/histogram.cpp NppHistogramRangeC1<CV_16S, nppiHistogramRange_16s_C1R, nppiHistogramRangeGetBufferSize_16s_C1R>::hist, hist 541 modules/cudaimgproc/src/histogram.cpp NppHistogramRangeC1<CV_32F, nppiHistogramRange_32f_C1R, nppiHistogramRangeGetBufferSize_32f_C1R>::hist hist 549 modules/cudaimgproc/src/histogram.cpp hist_callers[src.depth()](src, hist, levels, stream); hist 552 modules/cudaimgproc/src/histogram.cpp void cv::cuda::histRange(InputArray _src, GpuMat hist[4], const GpuMat levels[4], Stream& stream) hist 554 modules/cudaimgproc/src/histogram.cpp typedef void (*hist_t)(const GpuMat& src, GpuMat hist[4], const GpuMat levels[4], Stream& stream); hist 557 modules/cudaimgproc/src/histogram.cpp NppHistogramRangeC4<CV_8U , nppiHistogramRange_8u_C4R , nppiHistogramRangeGetBufferSize_8u_C4R >::hist, hist 559 modules/cudaimgproc/src/histogram.cpp NppHistogramRangeC4<CV_16U, nppiHistogramRange_16u_C4R, nppiHistogramRangeGetBufferSize_16u_C4R>::hist, hist 560 modules/cudaimgproc/src/histogram.cpp NppHistogramRangeC4<CV_16S, nppiHistogramRange_16s_C4R, nppiHistogramRangeGetBufferSize_16s_C4R>::hist, hist 562 modules/cudaimgproc/src/histogram.cpp NppHistogramRangeC4<CV_32F, nppiHistogramRange_32f_C4R, nppiHistogramRangeGetBufferSize_32f_C4R>::hist hist 569 modules/cudaimgproc/src/histogram.cpp hist_callers[src.depth()](src, hist, levels, stream); hist 73 modules/cudaimgproc/test/test_histogram.cpp cv::cuda::GpuMat hist; hist 74 modules/cudaimgproc/test/test_histogram.cpp cv::cuda::histEven(loadMat(src), hist, hbins, (int) hranges[0], (int) hranges[1]); hist 86 modules/cudaimgproc/test/test_histogram.cpp EXPECT_MAT_NEAR(hist_gold, hist, 0.0); hist 115 modules/cudaimgproc/test/test_histogram.cpp cv::cuda::GpuMat hist; hist 116 modules/cudaimgproc/test/test_histogram.cpp cv::cuda::calcHist(loadMat(src), hist); hist 130 modules/cudaimgproc/test/test_histogram.cpp EXPECT_MAT_NEAR(hist_gold, hist, 0.0); hist 154 modules/cudalegacy/src/fgd.cpp void calcDiffHistogram(const GpuMat& prevFrame, const GpuMat& curFrame, GpuMat& hist, GpuMat& histBuf) hist 168 modules/cudalegacy/src/fgd.cpp hist.create(3, 256, CV_32SC1); hist 173 modules/cudalegacy/src/fgd.cpp hist.ptr<unsigned int>(0), hist.ptr<unsigned int>(1), hist.ptr<unsigned int>(2), hist 178 modules/cudalegacy/src/fgd.cpp void calcRelativeVariance(unsigned int hist[3 * 256], double relativeVariance[3][fgd::HISTOGRAM_BIN_COUNT]) hist 190 modules/cudalegacy/src/fgd.cpp sum[0] += static_cast<double>(j) * hist[j]; hist 191 modules/cudalegacy/src/fgd.cpp sqsum[0] += static_cast<double>(j * j) * hist[j]; hist 192 modules/cudalegacy/src/fgd.cpp count[0] += hist[j]; hist 194 modules/cudalegacy/src/fgd.cpp sum[1] += static_cast<double>(j) * hist[j + 256]; hist 195 modules/cudalegacy/src/fgd.cpp sqsum[1] += static_cast<double>(j * j) * hist[j + 256]; hist 196 modules/cudalegacy/src/fgd.cpp count[1] += hist[j + 256]; hist 198 modules/cudalegacy/src/fgd.cpp sum[2] += static_cast<double>(j) * hist[j + 512]; hist 199 modules/cudalegacy/src/fgd.cpp sqsum[2] += static_cast<double>(j * j) * hist[j + 512]; hist 200 modules/cudalegacy/src/fgd.cpp count[2] += hist[j + 512]; hist 238 modules/cudalegacy/src/fgd.cpp void changeDetection(const GpuMat& prevFrame, const GpuMat& curFrame, GpuMat& changeMask, GpuMat& hist, GpuMat& histBuf) hist 240 modules/cudalegacy/src/fgd.cpp calcDiffHistogram(prevFrame, curFrame, hist, histBuf); hist 244 modules/cudalegacy/src/fgd.cpp hist.download(h_hist); hist 57 modules/cudev/include/opencv2/cudev/grid/detail/histogram.hpp __global__ void histogram(const SrcPtr src, ResType* hist, const MaskPtr mask, const int rows, const int cols) hist 88 modules/cudev/include/opencv2/cudev/grid/detail/histogram.hpp atomicAdd(hist + i, histVal); hist 94 modules/cudev/include/opencv2/cudev/grid/detail/histogram.hpp __host__ void histogram(const SrcPtr& src, ResType* hist, const MaskPtr& mask, int rows, int cols, cudaStream_t stream) hist 101 modules/cudev/include/opencv2/cudev/grid/detail/histogram.hpp histogram<BIN_COUNT, BLOCK_SIZE><<<grid, block, 0, stream>>>(src, hist, mask, rows, cols); hist 219 modules/features2d/src/kaze/nldiffusion_functions.cpp std::vector<int> hist(nbins, 0); hist 262 modules/features2d/src/kaze/nldiffusion_functions.cpp hist[nbin]++; hist 272 modules/features2d/src/kaze/nldiffusion_functions.cpp nelements = nelements + hist[k]; hist 2801 modules/imgproc/include/opencv2/imgproc.hpp OutputArray hist, int dims, const int* histSize, hist 2810 modules/imgproc/include/opencv2/imgproc.hpp SparseMat& hist, int dims, hist 2817 modules/imgproc/include/opencv2/imgproc.hpp InputArray mask, OutputArray hist, hist 2862 modules/imgproc/include/opencv2/imgproc.hpp const int* channels, InputArray hist, hist 2868 modules/imgproc/include/opencv2/imgproc.hpp const int* channels, const SparseMat& hist, hist 2874 modules/imgproc/include/opencv2/imgproc.hpp InputArray hist, OutputArray dst, hist 661 modules/imgproc/include/opencv2/imgproc/imgproc_c.h CVAPI(void) cvSetHistBinRanges( CvHistogram* hist, float** ranges, hist 678 modules/imgproc/include/opencv2/imgproc/imgproc_c.h int dims, int* sizes, CvHistogram* hist, hist 689 modules/imgproc/include/opencv2/imgproc/imgproc_c.h CVAPI(void) cvReleaseHist( CvHistogram** hist ); hist 698 modules/imgproc/include/opencv2/imgproc/imgproc_c.h CVAPI(void) cvClearHist( CvHistogram* hist ); hist 713 modules/imgproc/include/opencv2/imgproc/imgproc_c.h CVAPI(void) cvGetMinMaxHistValue( const CvHistogram* hist, hist 727 modules/imgproc/include/opencv2/imgproc/imgproc_c.h CVAPI(void) cvNormalizeHist( CvHistogram* hist, double factor ); hist 737 modules/imgproc/include/opencv2/imgproc/imgproc_c.h CVAPI(void) cvThreshHist( CvHistogram* hist, double threshold ); hist 766 modules/imgproc/include/opencv2/imgproc/imgproc_c.h CVAPI(void) cvCalcArrHist( CvArr** arr, CvHistogram* hist, hist 771 modules/imgproc/include/opencv2/imgproc/imgproc_c.h CV_INLINE void cvCalcHist( IplImage** image, CvHistogram* hist, hist 775 modules/imgproc/include/opencv2/imgproc/imgproc_c.h cvCalcArrHist( (CvArr**)image, hist, accumulate, mask ); hist 782 modules/imgproc/include/opencv2/imgproc/imgproc_c.h const CvHistogram* hist ); hist 784 modules/imgproc/include/opencv2/imgproc/imgproc_c.h #define cvCalcBackProject(image, dst, hist) cvCalcArrBackProject((CvArr**)image, dst, hist) hist 807 modules/imgproc/include/opencv2/imgproc/imgproc_c.h CvHistogram* hist, int method, hist 810 modules/imgproc/include/opencv2/imgproc/imgproc_c.h #define cvCalcBackProjectPatch( image, dst, range, hist, method, factor ) \ hist 811 modules/imgproc/include/opencv2/imgproc/imgproc_c.h cvCalcArrBackProjectPatch( (CvArr**)image, dst, range, hist, method, factor ) hist 242 modules/imgproc/misc/java/test/ImgprocTest.java Mat hist = new Mat(); hist 243 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.calcHist(images, channels, new Mat(), hist, histSize, ranges); hist 244 modules/imgproc/misc/java/test/ImgprocTest.java Core.normalize(hist, hist); hist 246 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.calcBackProject(images, channels, hist, dst, ranges, 255); hist 258 modules/imgproc/misc/java/test/ImgprocTest.java Mat hist = new Mat(); hist 260 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.calcHist(images, channels, new Mat(), hist, histSize, ranges); hist 267 modules/imgproc/misc/java/test/ImgprocTest.java assertMatEqual(truth, hist, EPS); hist 275 modules/imgproc/misc/java/test/ImgprocTest.java Mat hist = new Mat(); hist 277 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.calcHist(images, channels, new Mat(), hist, histSize, ranges); hist 284 modules/imgproc/misc/java/test/ImgprocTest.java assertMatEqual(truth, hist, EPS); hist 330 modules/imgproc/misc/java/test/ImgprocTest.java Mat hist = new Mat(); hist 332 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.calcHist(images, channels, new Mat(), hist, histSize, ranges, true); hist 339 modules/imgproc/misc/java/test/ImgprocTest.java assertMatEqual(truth, hist, EPS); hist 90 modules/imgproc/perf/opencl/perf_imgproc.cpp UMat src(srcSize, CV_8UC1), hist(256, 1, CV_32FC1); hist 91 modules/imgproc/perf/opencl/perf_imgproc.cpp declare.in(src, WARMUP_RNG).out(hist); hist 93 modules/imgproc/perf/opencl/perf_imgproc.cpp OCL_TEST_CYCLE() cv::calcHist(std::vector<UMat>(1, src), channels, noArray(), hist, histSize, ranges, false); hist 95 modules/imgproc/perf/opencl/perf_imgproc.cpp SANITY_CHECK(hist); hist 114 modules/imgproc/perf/opencl/perf_imgproc.cpp UMat src(srcSize, CV_8UC1), hist(256, 1, CV_32FC1), dst(srcSize, CV_8UC1); hist 115 modules/imgproc/perf/opencl/perf_imgproc.cpp declare.in(src, WARMUP_RNG).out(hist); hist 117 modules/imgproc/perf/opencl/perf_imgproc.cpp cv::calcHist(std::vector<UMat>(1, src), channels, noArray(), hist, histSize, ranges, false); hist 120 modules/imgproc/perf/opencl/perf_imgproc.cpp OCL_TEST_CYCLE() cv::calcBackProject(std::vector<UMat>(1,src), channels, hist, dst, ranges, 1); hist 25 modules/imgproc/perf/perf_histogram.cpp Mat hist; hist 40 modules/imgproc/perf/perf_histogram.cpp calcHist(&source, numberOfImages, channels, Mat(), hist, dims, histSize, ranges); hist 43 modules/imgproc/perf/perf_histogram.cpp SANITY_CHECK(hist); hist 54 modules/imgproc/perf/perf_histogram.cpp Mat hist; hist 68 modules/imgproc/perf/perf_histogram.cpp calcHist(&source, numberOfImages, channels, Mat(), hist, dims, histSize, ranges); hist 71 modules/imgproc/perf/perf_histogram.cpp SANITY_CHECK(hist); hist 81 modules/imgproc/perf/perf_histogram.cpp Mat hist; hist 96 modules/imgproc/perf/perf_histogram.cpp calcHist(&source, numberOfImages, channels, Mat(), hist, dims, histSize, ranges); hist 99 modules/imgproc/perf/perf_histogram.cpp SANITY_CHECK(hist); hist 53 modules/imgproc/src/histogram.cpp calcHistLookupTables_8u( const Mat& hist, const SparseMat& shist, hist 68 modules/imgproc/src/histogram.cpp int sz = !issparse ? hist.size[i] : shist.size(i); hist 69 modules/imgproc/src/histogram.cpp size_t step = !issparse ? hist.step[i] : 1; hist 89 modules/imgproc/src/histogram.cpp int idx = -1, sz = !issparse ? hist.size[i] : shist.size(i); hist 91 modules/imgproc/src/histogram.cpp size_t step = !issparse ? hist.step[i] : 1; hist 218 modules/imgproc/src/histogram.cpp Mat& hist, const double* _uniranges, int sz, int dims, hist 223 modules/imgproc/src/histogram.cpp histogramSize_(hist.size()), histogramType_(hist.type()), hist 224 modules/imgproc/src/histogram.cpp globalHistogram_((tbb::atomic<int>*)hist.data) hist 292 modules/imgproc/src/histogram.cpp Mat& hist, const double* _uniranges, const int* size, hist 297 modules/imgproc/src/histogram.cpp histogramSize_(hist.size()), histogramType_(hist.type()), hist 298 modules/imgproc/src/histogram.cpp globalHistogram_(hist.data) hist 368 modules/imgproc/src/histogram.cpp Size imsize, Mat& hist, const double* uniranges, int _dims, hist 373 modules/imgproc/src/histogram.cpp globalHistogram_(hist.data) hist 456 modules/imgproc/src/histogram.cpp Size imsize, Mat& hist, int dims, const std::vector<size_t>& tab, hist 462 modules/imgproc/src/histogram.cpp histSize_(hist.size()), histType_(hist.type()), hist 465 modules/imgproc/src/histogram.cpp globalHistogram_(hist.data) hist 577 modules/imgproc/src/histogram.cpp Size imsize, Mat& hist, int dims, const std::vector<size_t>& _tab, hist 582 modules/imgproc/src/histogram.cpp histSize_(hist.size()), histType_(hist.type()), hist 585 modules/imgproc/src/histogram.cpp globalHistogram_(hist.data) hist 662 modules/imgproc/src/histogram.cpp Size imsize, Mat& hist, int dims, const std::vector<size_t>& tab ) hist 665 modules/imgproc/src/histogram.cpp histogramSize_(hist.size.p), histogramType_(hist.type()), hist 668 modules/imgproc/src/histogram.cpp globalHistogram_(hist.data) hist 731 modules/imgproc/src/histogram.cpp Size imsize, Mat& hist, int dims, std::vector<size_t>& _tab ) hist 736 modules/imgproc/src/histogram.cpp CalcHist2D_8uInvoker body(_ptrs, _deltas, imsize, hist, dims, _tab, &histogramWriteLock); hist 742 modules/imgproc/src/histogram.cpp Size imsize, Mat& hist, int dims, std::vector<size_t>& _tab ) hist 744 modules/imgproc/src/histogram.cpp CalcHist3D_8uInvoker body(_ptrs, _deltas, imsize, hist, dims, _tab); hist 751 modules/imgproc/src/histogram.cpp Size imsize, Mat& hist, int dims, const float** _ranges, hist 756 modules/imgproc/src/histogram.cpp uchar* H = hist.ptr(); hist 765 modules/imgproc/src/histogram.cpp size[i] = hist.size[i]; hist 766 modules/imgproc/src/histogram.cpp hstep[i] = hist.step[i]; hist 776 modules/imgproc/src/histogram.cpp calcHist1D_Invoker<T> body(_ptrs, _deltas, hist, _uniranges, size[0], dims, imsize); hist 807 modules/imgproc/src/histogram.cpp calcHist2D_Invoker<T> body(_ptrs, _deltas, hist, _uniranges, size, dims, imsize, hstep); hist 844 modules/imgproc/src/histogram.cpp if( calcHist3D_Invoker<T>::isFit(hist, imsize) ) hist 846 modules/imgproc/src/histogram.cpp calcHist3D_Invoker<T> body(_ptrs, _deltas, imsize, hist, uniranges, dims, hstep, size); hist 986 modules/imgproc/src/histogram.cpp Size imsize, Mat& hist, int dims, const float** _ranges, hist 991 modules/imgproc/src/histogram.cpp uchar* H = hist.ptr(); hist 997 modules/imgproc/src/histogram.cpp calcHistLookupTables_8u( hist, SparseMat(), dims, _ranges, _uniranges, uniform, false, _tab ); hist 1003 modules/imgproc/src/histogram.cpp if( CalcHist1D_8uInvoker::isFit(hist, imsize) ) hist 1009 modules/imgproc/src/histogram.cpp CalcHist1D_8uInvoker body(_ptrs, _deltas, imsize, hist, dims, _tab, &histogramWriteLock); hist 1063 modules/imgproc/src/histogram.cpp if( CalcHist2D_8uInvoker::isFit(hist, imsize) ) hist 1065 modules/imgproc/src/histogram.cpp callCalcHist2D_8u(_ptrs, _deltas, imsize, hist, dims, _tab); hist 1095 modules/imgproc/src/histogram.cpp if( CalcHist3D_8uInvoker::isFit(hist, imsize) ) hist 1097 modules/imgproc/src/histogram.cpp callCalcHist3D_8u(_ptrs, _deltas, imsize, hist, dims, _tab); hist 1185 modules/imgproc/src/histogram.cpp ParallelLoopBody(), src(&_src), hist(&_hist), levels(&_levels), histSize(_histSize), low(_low), high(_high), ok(_ok) hist 1192 modules/imgproc/src/histogram.cpp Mat phist(hist->size(), hist->type(), Scalar::all(0)); hist 1206 modules/imgproc/src/histogram.cpp CV_XADD((int *)(hist->data + i * hist->step), *(int *)(phist.data + i * phist.step)); hist 1211 modules/imgproc/src/histogram.cpp Mat * hist; hist 1233 modules/imgproc/src/histogram.cpp Mat hist = _hist.getMat(), ihist = hist; hist 1258 modules/imgproc/src/histogram.cpp ihist.convertTo(hist, CV_32F); hist 1267 modules/imgproc/src/histogram.cpp if( !accumulate || histdata != hist.data ) hist 1268 modules/imgproc/src/histogram.cpp hist = Scalar(0.); hist 1270 modules/imgproc/src/histogram.cpp hist.convertTo(ihist, CV_32S); hist 1278 modules/imgproc/src/histogram.cpp histPrepareImages( images, nimages, channels, mask, dims, hist.size, ranges, hist 1293 modules/imgproc/src/histogram.cpp ihist.convertTo(hist, CV_32F); hist 1302 modules/imgproc/src/histogram.cpp Size imsize, SparseMat& hist, int dims, const float** _ranges, hist 1310 modules/imgproc/src/histogram.cpp const int* size = hist.hdr->size; hist 1332 modules/imgproc/src/histogram.cpp ++*(int*)hist.ptr(idx, true); hist 1371 modules/imgproc/src/histogram.cpp ++*(int*)hist.ptr(idx, true); hist 1386 modules/imgproc/src/histogram.cpp Size imsize, SparseMat& hist, int dims, const float** _ranges, hist 1397 modules/imgproc/src/histogram.cpp calcHistLookupTables_8u( Mat(), hist, dims, _ranges, _uniranges, uniform, true, _tab ); hist 1416 modules/imgproc/src/histogram.cpp ++*(int*)hist.ptr(idx,true); hist 1428 modules/imgproc/src/histogram.cpp const Mat& mask, SparseMat& hist, int dims, const int* histSize, hist 1434 modules/imgproc/src/histogram.cpp hist.create(dims, histSize, CV_32F); hist 1437 modules/imgproc/src/histogram.cpp SparseMatIterator it = hist.begin(); hist 1438 modules/imgproc/src/histogram.cpp for( i = 0, N = hist.nzcount(); i < N; i++, ++it ) hist 1451 modules/imgproc/src/histogram.cpp histPrepareImages( images, nimages, channels, mask, dims, hist.hdr->size, ranges, hist 1457 modules/imgproc/src/histogram.cpp calcSparseHist_8u(ptrs, deltas, imsize, hist, dims, ranges, _uniranges, uniform ); hist 1459 modules/imgproc/src/histogram.cpp calcSparseHist_<ushort>(ptrs, deltas, imsize, hist, dims, ranges, _uniranges, uniform ); hist 1461 modules/imgproc/src/histogram.cpp calcSparseHist_<float>(ptrs, deltas, imsize, hist, dims, ranges, _uniranges, uniform ); hist 1467 modules/imgproc/src/histogram.cpp SparseMatIterator it = hist.begin(); hist 1468 modules/imgproc/src/histogram.cpp for( i = 0, N = hist.nzcount(); i < N; i++, ++it ) hist 1502 modules/imgproc/src/histogram.cpp hist = _hist.getUMat(); hist 1520 modules/imgproc/src/histogram.cpp ocl::KernelArg::WriteOnlyNoSize(hist)); hist 1525 modules/imgproc/src/histogram.cpp static bool ocl_calcHist(InputArrayOfArrays images, OutputArray hist) hist 1530 modules/imgproc/src/histogram.cpp return ocl_calcHist1(v[0], hist, CV_32F); hist 1538 modules/imgproc/src/histogram.cpp InputArray _mask, SparseMat& hist, int dims, const int* histSize, hist 1542 modules/imgproc/src/histogram.cpp calcHist( images, nimages, channels, mask, hist, dims, histSize, hist 1548 modules/imgproc/src/histogram.cpp InputArray mask, OutputArray hist, hist 1557 modules/imgproc/src/histogram.cpp ocl_calcHist(images, hist)) hist 1577 modules/imgproc/src/histogram.cpp mask, hist, dims, &histSize[0], rsz ? (const float**)_ranges : 0, hist 1589 modules/imgproc/src/histogram.cpp Size imsize, const Mat& hist, int dims, const float** _ranges, hist 1594 modules/imgproc/src/histogram.cpp const uchar* H = hist.ptr(); hist 1603 modules/imgproc/src/histogram.cpp size[i] = hist.size[i]; hist 1604 modules/imgproc/src/histogram.cpp hstep[i] = hist.step[i]; hist 1754 modules/imgproc/src/histogram.cpp Size imsize, const Mat& hist, int dims, const float** _ranges, hist 1759 modules/imgproc/src/histogram.cpp const uchar* H = hist.ptr(); hist 1765 modules/imgproc/src/histogram.cpp calcHistLookupTables_8u( hist, SparseMat(), dims, _ranges, _uniranges, uniform, false, _tab ); hist 1880 modules/imgproc/src/histogram.cpp Mat hist = _hist.getMat(); hist 1885 modules/imgproc/src/histogram.cpp int dims = hist.dims == 2 && hist.size[1] == 1 ? 1 : hist.dims; hist 1887 modules/imgproc/src/histogram.cpp CV_Assert( dims > 0 && !hist.empty() ); hist 1890 modules/imgproc/src/histogram.cpp histPrepareImages( images, nimages, channels, backProject, dims, hist.size, ranges, hist 1896 modules/imgproc/src/histogram.cpp calcBackProj_8u(ptrs, deltas, imsize, hist, dims, ranges, _uniranges, (float)scale, uniform); hist 1898 modules/imgproc/src/histogram.cpp calcBackProj_<ushort, ushort>(ptrs, deltas, imsize, hist, dims, ranges, _uniranges, (float)scale, uniform ); hist 1900 modules/imgproc/src/histogram.cpp calcBackProj_<float, float>(ptrs, deltas, imsize, hist, dims, ranges, _uniranges, (float)scale, uniform ); hist 1911 modules/imgproc/src/histogram.cpp Size imsize, const SparseMat& hist, int dims, const float** _ranges, hist 1919 modules/imgproc/src/histogram.cpp const int* size = hist.hdr->size; hist 1921 modules/imgproc/src/histogram.cpp const SparseMat_<float>& hist_ = (const SparseMat_<float>&)hist; hist 1996 modules/imgproc/src/histogram.cpp Size imsize, const SparseMat& hist, int dims, const float** _ranges, hist 2007 modules/imgproc/src/histogram.cpp calcHistLookupTables_8u( Mat(), hist, dims, _ranges, _uniranges, uniform, true, _tab ); hist 2024 modules/imgproc/src/histogram.cpp bproj[x] = saturate_cast<uchar>(hist.value<float>(idx)*scale); hist 2040 modules/imgproc/src/histogram.cpp const SparseMat& hist, OutputArray _backProject, hist 2047 modules/imgproc/src/histogram.cpp int dims = hist.dims(); hist 2053 modules/imgproc/src/histogram.cpp dims, hist.hdr->size, ranges, hist 2059 modules/imgproc/src/histogram.cpp calcSparseBackProj_8u(ptrs, deltas, imsize, hist, dims, ranges, hist 2062 modules/imgproc/src/histogram.cpp calcSparseBackProj_<ushort, ushort>(ptrs, deltas, imsize, hist, dims, ranges, hist 2065 modules/imgproc/src/histogram.cpp calcSparseBackProj_<float, float>(ptrs, deltas, imsize, hist, dims, ranges, hist 2142 modules/imgproc/src/histogram.cpp UMat lut(1, (int)lsize, CV_32SC1), hist = _hist.getUMat(), uranges(ranges, true); hist 2144 modules/imgproc/src/histogram.cpp lutk.args(ocl::KernelArg::ReadOnlyNoSize(hist), hist.rows, hist 2178 modules/imgproc/src/histogram.cpp UMat lut(1, (int)lsize<<1, CV_32SC1), uranges(ranges, true), hist = _hist.getUMat(); hist 2180 modules/imgproc/src/histogram.cpp lutk1.args(hist.rows, ocl::KernelArg::PtrWriteOnly(lut), (int)0, ocl::KernelArg::PtrReadOnly(uranges), (int)0); hist 2190 modules/imgproc/src/histogram.cpp lutk2.args(hist.cols, ocl::KernelArg::PtrWriteOnly(lut), (int)256, ocl::KernelArg::PtrReadOnly(uranges), (int)2); hist 2205 modules/imgproc/src/histogram.cpp ocl::KernelArg::ReadOnlyNoSize(hist), ocl::KernelArg::PtrReadOnly(lut), scale, ocl::KernelArg::WriteOnly(dst)); hist 2218 modules/imgproc/src/histogram.cpp InputArray hist, OutputArray dst, hist 2223 modules/imgproc/src/histogram.cpp Size histSize = hist.size(); hist 2225 modules/imgproc/src/histogram.cpp size_t histdims = _1D ? 1 : hist.dims(); hist 2228 modules/imgproc/src/histogram.cpp CV_OCL_RUN(dst.isUMat() && hist.type() == CV_32FC1 && hist 2230 modules/imgproc/src/histogram.cpp ocl_calcBackProject(images, channels, hist, dst, ranges, (float)scale, histdims)) hist 2232 modules/imgproc/src/histogram.cpp Mat H0 = hist.getMat(), H; hist 2266 modules/imgproc/src/histogram.cpp hist, dst, rsz ? (const float**)_ranges : 0, scale, true); hist 2596 modules/imgproc/src/histogram.cpp CvHistogram *hist = 0; hist 2604 modules/imgproc/src/histogram.cpp hist = (CvHistogram *)cvAlloc( sizeof( CvHistogram )); hist 2605 modules/imgproc/src/histogram.cpp hist->type = CV_HIST_MAGIC_VAL + ((int)type & 1); hist 2606 modules/imgproc/src/histogram.cpp if (uniform) hist->type|= CV_HIST_UNIFORM_FLAG; hist 2607 modules/imgproc/src/histogram.cpp hist->thresh2 = 0; hist 2608 modules/imgproc/src/histogram.cpp hist->bins = 0; hist 2611 modules/imgproc/src/histogram.cpp hist->bins = cvInitMatNDHeader( &hist->mat, dims, sizes, hist 2613 modules/imgproc/src/histogram.cpp cvCreateData( hist->bins ); hist 2616 modules/imgproc/src/histogram.cpp hist->bins = cvCreateSparseMat( dims, sizes, CV_HIST_DEFAULT_TYPE ); hist 2621 modules/imgproc/src/histogram.cpp cvSetHistBinRanges( hist, ranges, uniform ); hist 2623 modules/imgproc/src/histogram.cpp return hist; hist 2629 modules/imgproc/src/histogram.cpp cvMakeHistHeaderForArray( int dims, int *sizes, CvHistogram *hist, hist 2632 modules/imgproc/src/histogram.cpp if( !hist ) hist 2638 modules/imgproc/src/histogram.cpp hist->thresh2 = 0; hist 2639 modules/imgproc/src/histogram.cpp hist->type = CV_HIST_MAGIC_VAL; hist 2640 modules/imgproc/src/histogram.cpp hist->bins = cvInitMatNDHeader( &hist->mat, dims, sizes, CV_HIST_DEFAULT_TYPE, data ); hist 2647 modules/imgproc/src/histogram.cpp cvSetHistBinRanges( hist, ranges, uniform ); hist 2650 modules/imgproc/src/histogram.cpp return hist; hist 2655 modules/imgproc/src/histogram.cpp cvReleaseHist( CvHistogram **hist ) hist 2657 modules/imgproc/src/histogram.cpp if( !hist ) hist 2660 modules/imgproc/src/histogram.cpp if( *hist ) hist 2662 modules/imgproc/src/histogram.cpp CvHistogram* temp = *hist; hist 2666 modules/imgproc/src/histogram.cpp *hist = 0; hist 2683 modules/imgproc/src/histogram.cpp cvClearHist( CvHistogram *hist ) hist 2685 modules/imgproc/src/histogram.cpp if( !CV_IS_HIST(hist) ) hist 2687 modules/imgproc/src/histogram.cpp cvZero( hist->bins ); hist 2693 modules/imgproc/src/histogram.cpp cvThreshHist( CvHistogram* hist, double thresh ) hist 2695 modules/imgproc/src/histogram.cpp if( !CV_IS_HIST(hist) ) hist 2698 modules/imgproc/src/histogram.cpp if( !CV_IS_SPARSE_MAT(hist->bins) ) hist 2701 modules/imgproc/src/histogram.cpp cvGetMat( hist->bins, &mat, 0, 1 ); hist 2706 modules/imgproc/src/histogram.cpp CvSparseMat* mat = (CvSparseMat*)hist->bins; hist 2723 modules/imgproc/src/histogram.cpp cvNormalizeHist( CvHistogram* hist, double factor ) hist 2727 modules/imgproc/src/histogram.cpp if( !CV_IS_HIST(hist) ) hist 2730 modules/imgproc/src/histogram.cpp if( !CV_IS_SPARSE_HIST(hist) ) hist 2733 modules/imgproc/src/histogram.cpp cvGetMat( hist->bins, &mat, 0, 1 ); hist 2741 modules/imgproc/src/histogram.cpp CvSparseMat* mat = (CvSparseMat*)hist->bins; hist 2767 modules/imgproc/src/histogram.cpp cvGetMinMaxHistValue( const CvHistogram* hist, hist 2774 modules/imgproc/src/histogram.cpp if( !CV_IS_HIST(hist) ) hist 2777 modules/imgproc/src/histogram.cpp dims = cvGetDims( hist->bins, size ); hist 2779 modules/imgproc/src/histogram.cpp if( !CV_IS_SPARSE_HIST(hist) ) hist 2784 modules/imgproc/src/histogram.cpp cvGetMat( hist->bins, &mat, 0, 1 ); hist 2826 modules/imgproc/src/histogram.cpp CvSparseMat* mat = (CvSparseMat*)hist->bins; hist 3112 modules/imgproc/src/histogram.cpp cvSetHistBinRanges( CvHistogram* hist, float** ranges, int uniform ) hist 3120 modules/imgproc/src/histogram.cpp if( !CV_IS_HIST(hist) ) hist 3123 modules/imgproc/src/histogram.cpp dims = cvGetDims( hist->bins, size ); hist 3133 modules/imgproc/src/histogram.cpp hist->thresh[i][0] = ranges[i][0]; hist 3134 modules/imgproc/src/histogram.cpp hist->thresh[i][1] = ranges[i][1]; hist 3137 modules/imgproc/src/histogram.cpp hist->type |= CV_HIST_UNIFORM_FLAG + CV_HIST_RANGES_FLAG; hist 3143 modules/imgproc/src/histogram.cpp if( !hist->thresh2 ) hist 3145 modules/imgproc/src/histogram.cpp hist->thresh2 = (float**)cvAlloc( hist 3146 modules/imgproc/src/histogram.cpp dims*sizeof(hist->thresh2[0])+ hist 3147 modules/imgproc/src/histogram.cpp total*sizeof(hist->thresh2[0][0])); hist 3149 modules/imgproc/src/histogram.cpp dim_ranges = (float*)(hist->thresh2 + dims); hist 3166 modules/imgproc/src/histogram.cpp hist->thresh2[i] = dim_ranges; hist 3170 modules/imgproc/src/histogram.cpp hist->type |= CV_HIST_RANGES_FLAG; hist 3171 modules/imgproc/src/histogram.cpp hist->type &= ~CV_HIST_UNIFORM_FLAG; hist 3177 modules/imgproc/src/histogram.cpp cvCalcArrHist( CvArr** img, CvHistogram* hist, int accumulate, const CvArr* mask ) hist 3179 modules/imgproc/src/histogram.cpp if( !CV_IS_HIST(hist)) hist 3186 modules/imgproc/src/histogram.cpp int i, dims = cvGetDims( hist->bins, size); hist 3187 modules/imgproc/src/histogram.cpp bool uniform = CV_IS_UNIFORM_HIST(hist); hist 3200 modules/imgproc/src/histogram.cpp if( hist->type & CV_HIST_RANGES_FLAG ) hist 3202 modules/imgproc/src/histogram.cpp ranges = (const float**)hist->thresh2; hist 3206 modules/imgproc/src/histogram.cpp uranges[i] = &hist->thresh[i][0]; hist 3211 modules/imgproc/src/histogram.cpp if( !CV_IS_SPARSE_HIST(hist) ) hist 3213 modules/imgproc/src/histogram.cpp cv::Mat H = cv::cvarrToMat(hist->bins); hist 3215 modules/imgproc/src/histogram.cpp H, cvGetDims(hist->bins), H.size, ranges, uniform, accumulate != 0 ); hist 3219 modules/imgproc/src/histogram.cpp CvSparseMat* sparsemat = (CvSparseMat*)hist->bins; hist 3222 modules/imgproc/src/histogram.cpp cvZero( hist->bins ); hist 3240 modules/imgproc/src/histogram.cpp cvCalcArrBackProject( CvArr** img, CvArr* dst, const CvHistogram* hist ) hist 3242 modules/imgproc/src/histogram.cpp if( !CV_IS_HIST(hist)) hist 3249 modules/imgproc/src/histogram.cpp int i, dims = cvGetDims( hist->bins, size ); hist 3251 modules/imgproc/src/histogram.cpp bool uniform = CV_IS_UNIFORM_HIST(hist); hist 3255 modules/imgproc/src/histogram.cpp if( hist->type & CV_HIST_RANGES_FLAG ) hist 3257 modules/imgproc/src/histogram.cpp ranges = (const float**)hist->thresh2; hist 3261 modules/imgproc/src/histogram.cpp uranges[i] = &hist->thresh[i][0]; hist 3274 modules/imgproc/src/histogram.cpp if( !CV_IS_SPARSE_HIST(hist) ) hist 3276 modules/imgproc/src/histogram.cpp cv::Mat H = cv::cvarrToMat(hist->bins); hist 3283 modules/imgproc/src/histogram.cpp ((const CvSparseMat*)hist->bins)->copyToSparseMat(sH); hist 3293 modules/imgproc/src/histogram.cpp cvCalcArrBackProjectPatch( CvArr** arr, CvArr* dst, CvSize patch_size, CvHistogram* hist, hist 3305 modules/imgproc/src/histogram.cpp if( !CV_IS_HIST(hist)) hist 3318 modules/imgproc/src/histogram.cpp dims = cvGetDims( hist->bins ); hist 3319 modules/imgproc/src/histogram.cpp cvNormalizeHist( hist, norm_factor ); hist 3339 modules/imgproc/src/histogram.cpp cvCopyHist( hist, &model ); hist 3356 modules/imgproc/src/histogram.cpp result = cvCompareHist( model, hist, method ); hist 3400 modules/imgproc/src/histogram.cpp cvCalcProbDensity( const CvHistogram* hist, const CvHistogram* hist_mask, hist 3406 modules/imgproc/src/histogram.cpp if( !CV_IS_HIST(hist) || !CV_IS_HIST(hist_mask) || !CV_IS_HIST(hist_dens) ) hist 3410 modules/imgproc/src/histogram.cpp CvArr* arrs[] = { hist->bins, hist_mask->bins, hist_dens->bins }; hist 3639 modules/imgproc/src/histogram.cpp int hist[hist_sz] = {0,}; hist 3642 modules/imgproc/src/histogram.cpp EqualizeHistCalcHist_Invoker calcBody(src, hist, &histogramLockInstance); hist 3652 modules/imgproc/src/histogram.cpp while (!hist[i]) ++i; hist 3655 modules/imgproc/src/histogram.cpp if (hist[i] == total) hist 3661 modules/imgproc/src/histogram.cpp float scale = (hist_sz - 1.f)/(total - hist[i]); hist 3666 modules/imgproc/src/histogram.cpp sum += hist[i]; hist 3785 modules/imgproc/src/histogram.cpp const CvHistogram * hist = (const CvHistogram *) struct_ptr; hist 3793 modules/imgproc/src/histogram.cpp is_uniform = (CV_IS_UNIFORM_HIST(hist) ? 1 : 0); hist 3794 modules/imgproc/src/histogram.cpp have_ranges = (hist->type & CV_HIST_RANGES_FLAG ? 1 : 0); hist 3796 modules/imgproc/src/histogram.cpp cvWriteInt( fs, "type", (hist->type & 1) ); hist 3799 modules/imgproc/src/histogram.cpp if(!CV_IS_SPARSE_HIST(hist)) hist 3800 modules/imgproc/src/histogram.cpp cvWrite( fs, "mat", &(hist->mat) ); hist 3802 modules/imgproc/src/histogram.cpp cvWrite( fs, "bins", hist->bins ); hist 3806 modules/imgproc/src/histogram.cpp dims = cvGetDims( hist->bins, sizes ); hist 3810 modules/imgproc/src/histogram.cpp cvWriteRawData( fs, hist->thresh[i], 2, "f" ); hist 3815 modules/imgproc/src/histogram.cpp cvWriteRawData( fs, hist->thresh2[i], sizes[i]+1, "f" ); hist 80 modules/imgproc/test/ocl/test_histogram.cpp TEST_DECLARE_INPUT_PARAMETER(hist); hist 130 modules/imgproc/test/ocl/test_histogram.cpp randomSubMat(hist, hist_roi, tmpHist.size(), histBorder, tmpHist.type(), 0, MAX_VALUE); hist 147 modules/imgproc/test/ocl/test_histogram.cpp UMAT_UPLOAD_INPUT_PARAMETER(hist); hist 229 modules/imgproc/test/ocl/test_histogram.cpp TEST_DECLARE_OUTPUT_PARAMETER(hist); hist 244 modules/imgproc/test/ocl/test_histogram.cpp randomSubMat(hist, hist_roi, Size(1, 256), histBorder, CV_32SC1, 0, MAX_VALUE); hist 247 modules/imgproc/test/ocl/test_histogram.cpp UMAT_UPLOAD_OUTPUT_PARAMETER(hist); hist 266 modules/imgproc/test/ocl/test_histogram.cpp OCL_EXPECT_MATS_NEAR(hist, 0.0); hist 83 modules/imgproc/test/test_histograms.cpp vector<CvHistogram*> hist; hist 114 modules/imgproc/test/test_histograms.cpp for( size_t i = 0; i < hist.size(); i++ ) hist 115 modules/imgproc/test/test_histograms.cpp cvReleaseHist( &hist[i] ); hist 252 modules/imgproc/test/test_histograms.cpp Mat h = cvarrToMat(hist[hist_i]->bins); hist 257 modules/imgproc/test/test_histograms.cpp CvArr* arr = hist[hist_i]->bins; hist 288 modules/imgproc/test/test_histograms.cpp hist.resize(hist_count); hist 292 modules/imgproc/test/test_histograms.cpp hist[i] = cvCreateHist( cdims, dims, hist_type, r, uniform ); hist 361 modules/imgproc/test/test_histograms.cpp cvZero( hist[i]->bins ); hist 436 modules/imgproc/test/test_histograms.cpp CvArr* h = hist[0]->bins; hist 624 modules/imgproc/test/test_histograms.cpp cvSetRealND( hist[0]->bins, min_idx0, min_val0 ); hist 625 modules/imgproc/test/test_histograms.cpp cvSetRealND( hist[0]->bins, max_idx0, max_val0 ); hist 634 modules/imgproc/test/test_histograms.cpp ((CvSparseMat*)hist[0]->bins)->copyToSparseMat(h); hist 641 modules/imgproc/test/test_histograms.cpp cvGetMinMaxHistValue( hist[0], &min_val, &max_val, min_idx, max_idx ); hist 719 modules/imgproc/test/test_histograms.cpp ((CvSparseMat*)hist[0]->bins)->heap->active_count == 0 ) hist 732 modules/imgproc/test/test_histograms.cpp ((CvSparseMat*)hist[0]->bins)->copyToSparseMat(h); hist 734 modules/imgproc/test/test_histograms.cpp cvReleaseSparseMat((CvSparseMat**)&hist[0]->bins); hist 735 modules/imgproc/test/test_histograms.cpp hist[0]->bins = cvCreateSparseMat(h); hist 738 modules/imgproc/test/test_histograms.cpp cvNormalizeHist( hist[0], factor ); hist 750 modules/imgproc/test/test_histograms.cpp const float* ptr = (float*)cvPtr1D( hist[0]->bins, 0 ); hist 757 modules/imgproc/test/test_histograms.cpp CvSparseMat* sparse = (CvSparseMat*)hist[0]->bins; hist 846 modules/imgproc/test/test_histograms.cpp memcpy( values->data.fl, cvPtr1D( hist[0]->bins, 0 ), total_size*sizeof(float) ); hist 850 modules/imgproc/test/test_histograms.cpp CvSparseMat* sparse = (CvSparseMat*)hist[0]->bins; hist 883 modules/imgproc/test/test_histograms.cpp cvThreshHist( hist[0], threshold ); hist 896 modules/imgproc/test/test_histograms.cpp ptr = (float*)cvPtr1D( hist[0]->bins, 0 ); hist 898 modules/imgproc/test/test_histograms.cpp sparse = (CvSparseMat*)hist[0]->bins; hist 984 modules/imgproc/test/test_histograms.cpp ((CvSparseMat*)hist[0]->bins)->copyToSparseMat(h0); hist 985 modules/imgproc/test/test_histograms.cpp ((CvSparseMat*)hist[1]->bins)->copyToSparseMat(h1); hist 991 modules/imgproc/test/test_histograms.cpp result[k] = cvCompareHist( hist[0], hist[1], k ); hist 1007 modules/imgproc/test/test_histograms.cpp float* ptr0 = (float*)cvPtr1D( hist[0]->bins, 0 ); hist 1008 modules/imgproc/test/test_histograms.cpp float* ptr1 = (float*)cvPtr1D( hist[1]->bins, 0 ); hist 1035 modules/imgproc/test/test_histograms.cpp CvSparseMat* sparse0 = (CvSparseMat*)hist[0]->bins; hist 1036 modules/imgproc/test/test_histograms.cpp CvSparseMat* sparse1 = (CvSparseMat*)hist[1]->bins; hist 1209 modules/imgproc/test/test_histograms.cpp cvCalcHist( images, hist[0], 0, images[CV_MAX_DIM] ); hist 1214 modules/imgproc/test/test_histograms.cpp cvTsCalcHist( IplImage** _images, CvHistogram* hist, IplImage* _mask, int* channels ) hist 1225 modules/imgproc/test/test_histograms.cpp int uniform = CV_IS_UNIFORM_HIST(hist); hist 1230 modules/imgproc/test/test_histograms.cpp cdims = cvGetDims( hist->bins, dims ); hist 1232 modules/imgproc/test/test_histograms.cpp cvZero( hist->bins ); hist 1274 modules/imgproc/test/test_histograms.cpp double v = val[k], lo = hist->thresh[k][0], hi = hist->thresh[k][1]; hist 1285 modules/imgproc/test/test_histograms.cpp float* t = hist->thresh2[k]; hist 1300 modules/imgproc/test/test_histograms.cpp (*(float*)cvPtrND( hist->bins, idx ))++; hist 1310 modules/imgproc/test/test_histograms.cpp cvTsCalcHist( images, hist[1], images[CV_MAX_DIM], channels ); hist 1311 modules/imgproc/test/test_histograms.cpp diff = cvCompareHist( hist[0], hist[1], CV_COMP_CHISQR ); hist 1416 modules/imgproc/test/test_histograms.cpp cvTsCalcHist( images, hist[0], images[CV_MAX_DIM], channels ); hist 1442 modules/imgproc/test/test_histograms.cpp cvCalcBackProject( images, images[CV_MAX_DIM+1], hist[0] ); hist 1447 modules/imgproc/test/test_histograms.cpp cvTsCalcBackProject( IplImage** images, IplImage* dst, CvHistogram* hist, int* channels ) hist 1458 modules/imgproc/test/test_histograms.cpp int uniform = CV_IS_UNIFORM_HIST(hist); hist 1462 modules/imgproc/test/test_histograms.cpp cdims = cvGetDims( hist->bins, dims ); hist 1494 modules/imgproc/test/test_histograms.cpp double v = val[k], lo = hist->thresh[k][0], hi = hist->thresh[k][1]; hist 1505 modules/imgproc/test/test_histograms.cpp float* t = hist->thresh2[k]; hist 1518 modules/imgproc/test/test_histograms.cpp bin_val = (float)cvGetRealND( hist->bins, idx ); hist 1536 modules/imgproc/test/test_histograms.cpp cvTsCalcBackProject( images, images[CV_MAX_DIM+2], hist[0], channels ); hist 1643 modules/imgproc/test/test_histograms.cpp cvTsCalcHist( images, hist[0], 0, channels ); hist 1644 modules/imgproc/test/test_histograms.cpp cvNormalizeHist( hist[0], factor ); hist 1670 modules/imgproc/test/test_histograms.cpp cvCalcBackProjectPatch( images, images[CV_MAX_DIM], patch_size, hist[0], method, factor ); hist 1676 modules/imgproc/test/test_histograms.cpp CvHistogram* hist, int method, hist 1687 modules/imgproc/test/test_histograms.cpp dims = cvGetDims( hist->bins ); hist 1688 modules/imgproc/test/test_histograms.cpp cvCopyHist( hist, &model ); hist 1689 modules/imgproc/test/test_histograms.cpp cvNormalizeHist( hist, factor ); hist 1715 modules/imgproc/test/test_histograms.cpp result = cvCompareHist( model, hist, method ); hist 1730 modules/imgproc/test/test_histograms.cpp patch_size, hist[0], method, factor, channels ); hist 1795 modules/imgproc/test/test_histograms.cpp cvCalcBayesianProb( &hist[0], hist_count/2, &hist[hist_count/2] ); hist 1811 modules/imgproc/test/test_histograms.cpp double v = hist[j]->mat.data.fl[i]; hist 1820 modules/imgproc/test/test_histograms.cpp double v = hist[j+n]->mat.data.fl[i]; hist 810 modules/objdetect/src/hog.cpp float* hist = blockHist + pk.histOfs[0]; hist 811 modules/objdetect/src/hog.cpp float t0 = hist[h0] + a[0]*w; hist 812 modules/objdetect/src/hog.cpp float t1 = hist[h1] + a[1]*w; hist 813 modules/objdetect/src/hog.cpp hist[h0] = t0; hist[h1] = t1; hist 832 modules/objdetect/src/hog.cpp float* hist = blockHist + pk.histOfs[0]; hist 833 modules/objdetect/src/hog.cpp float t0 = hist[h0] + hist0[0]; hist 834 modules/objdetect/src/hog.cpp float t1 = hist[h1] + hist1[0]; hist 835 modules/objdetect/src/hog.cpp hist[h0] = t0; hist[h1] = t1; hist 837 modules/objdetect/src/hog.cpp hist = blockHist + pk.histOfs[1]; hist 838 modules/objdetect/src/hog.cpp t0 = hist[h0] + hist0[1]; hist 839 modules/objdetect/src/hog.cpp t1 = hist[h1] + hist1[1]; hist 840 modules/objdetect/src/hog.cpp hist[h0] = t0; hist[h1] = t1; hist 851 modules/objdetect/src/hog.cpp float* hist = blockHist + pk.histOfs[0]; hist 853 modules/objdetect/src/hog.cpp t0 = hist[h0] + a0*w; hist 854 modules/objdetect/src/hog.cpp t1 = hist[h1] + a1*w; hist 855 modules/objdetect/src/hog.cpp hist[h0] = t0; hist[h1] = t1; hist 857 modules/objdetect/src/hog.cpp hist = blockHist + pk.histOfs[1]; hist 859 modules/objdetect/src/hog.cpp t0 = hist[h0] + a0*w; hist 860 modules/objdetect/src/hog.cpp t1 = hist[h1] + a1*w; hist 861 modules/objdetect/src/hog.cpp hist[h0] = t0; hist[h1] = t1; hist 880 modules/objdetect/src/hog.cpp float* hist = blockHist + pk.histOfs[0]; hist 881 modules/objdetect/src/hog.cpp float t0 = hist[h0] + hist0[0]; hist 882 modules/objdetect/src/hog.cpp float t1 = hist[h1] + hist1[0]; hist 883 modules/objdetect/src/hog.cpp hist[h0] = t0; hist[h1] = t1; hist 885 modules/objdetect/src/hog.cpp hist = blockHist + pk.histOfs[1]; hist 886 modules/objdetect/src/hog.cpp t0 = hist[h0] + hist0[1]; hist 887 modules/objdetect/src/hog.cpp t1 = hist[h1] + hist1[1]; hist 888 modules/objdetect/src/hog.cpp hist[h0] = t0; hist[h1] = t1; hist 890 modules/objdetect/src/hog.cpp hist = blockHist + pk.histOfs[2]; hist 891 modules/objdetect/src/hog.cpp t0 = hist[h0] + hist0[2]; hist 892 modules/objdetect/src/hog.cpp t1 = hist[h1] + hist1[2]; hist 893 modules/objdetect/src/hog.cpp hist[h0] = t0; hist[h1] = t1; hist 895 modules/objdetect/src/hog.cpp hist = blockHist + pk.histOfs[3]; hist 896 modules/objdetect/src/hog.cpp t0 = hist[h0] + hist0[3]; hist 897 modules/objdetect/src/hog.cpp t1 = hist[h1] + hist1[3]; hist 898 modules/objdetect/src/hog.cpp hist[h0] = t0; hist[h1] = t1; hist 930 modules/objdetect/src/hog.cpp float* hist = blockHist + pk.histOfs[0]; hist 932 modules/objdetect/src/hog.cpp t0 = hist[h0] + a0*w; hist 933 modules/objdetect/src/hog.cpp t1 = hist[h1] + a1*w; hist 934 modules/objdetect/src/hog.cpp hist[h0] = t0; hist[h1] = t1; hist 936 modules/objdetect/src/hog.cpp hist = blockHist + pk.histOfs[1]; hist 938 modules/objdetect/src/hog.cpp t0 = hist[h0] + a0*w; hist 939 modules/objdetect/src/hog.cpp t1 = hist[h1] + a1*w; hist 940 modules/objdetect/src/hog.cpp hist[h0] = t0; hist[h1] = t1; hist 942 modules/objdetect/src/hog.cpp hist = blockHist + pk.histOfs[2]; hist 944 modules/objdetect/src/hog.cpp t0 = hist[h0] + a0*w; hist 945 modules/objdetect/src/hog.cpp t1 = hist[h1] + a1*w; hist 946 modules/objdetect/src/hog.cpp hist[h0] = t0; hist[h1] = t1; hist 948 modules/objdetect/src/hog.cpp hist = blockHist + pk.histOfs[3]; hist 950 modules/objdetect/src/hog.cpp t0 = hist[h0] + a0*w; hist 951 modules/objdetect/src/hog.cpp t1 = hist[h1] + a1*w; hist 952 modules/objdetect/src/hog.cpp hist[h0] = t0; hist[h1] = t1; hist 963 modules/objdetect/src/hog.cpp float* hist = &_hist[0], sum = 0.0f, partSum[4]; hist 967 modules/objdetect/src/hog.cpp __m128 p0 = _mm_loadu_ps(hist); hist 972 modules/objdetect/src/hog.cpp p0 = _mm_loadu_ps(hist + i); hist 983 modules/objdetect/src/hog.cpp partSum[0] += hist[i] * hist[i]; hist 984 modules/objdetect/src/hog.cpp partSum[1] += hist[i+1] * hist[i+1]; hist 985 modules/objdetect/src/hog.cpp partSum[2] += hist[i+2] * hist[i+2]; hist 986 modules/objdetect/src/hog.cpp partSum[3] += hist[i+3] * hist[i+3]; hist 993 modules/objdetect/src/hog.cpp sum += hist[i]*hist[i]; hist 1002 modules/objdetect/src/hog.cpp __m128 p = _mm_mul_ps(_scale, _mm_loadu_ps(hist)); hist 1005 modules/objdetect/src/hog.cpp _mm_storeu_ps(hist, p); hist 1009 modules/objdetect/src/hog.cpp p = _mm_loadu_ps(hist + i); hist 1013 modules/objdetect/src/hog.cpp _mm_storeu_ps(hist + i, p); hist 1024 modules/objdetect/src/hog.cpp hist[i] = std::min(hist[i]*scale, thresh); hist 1025 modules/objdetect/src/hog.cpp hist[i+1] = std::min(hist[i+1]*scale, thresh); hist 1026 modules/objdetect/src/hog.cpp hist[i+2] = std::min(hist[i+2]*scale, thresh); hist 1027 modules/objdetect/src/hog.cpp hist[i+3] = std::min(hist[i+3]*scale, thresh); hist 1028 modules/objdetect/src/hog.cpp partSum[0] += hist[i]*hist[i]; hist 1029 modules/objdetect/src/hog.cpp partSum[1] += hist[i+1]*hist[i+1]; hist 1030 modules/objdetect/src/hog.cpp partSum[2] += hist[i+2]*hist[i+2]; hist 1031 modules/objdetect/src/hog.cpp partSum[3] += hist[i+3]*hist[i+3]; hist 1039 modules/objdetect/src/hog.cpp hist[i] = std::min(hist[i]*scale, thresh); hist 1040 modules/objdetect/src/hog.cpp sum += hist[i]*hist[i]; hist 1048 modules/objdetect/src/hog.cpp __m128 t = _mm_mul_ps(_scale2, _mm_loadu_ps(hist + i)); hist 1049 modules/objdetect/src/hog.cpp _mm_storeu_ps(hist + i, t); hist 1053 modules/objdetect/src/hog.cpp hist[i] *= scale; hist 871 modules/objdetect/test/test_cascadeandhog.cpp float* hist = blockHist + pk.histOfs[0]; hist 872 modules/objdetect/test/test_cascadeandhog.cpp float t0 = hist[h0] + a[0]*w; hist 873 modules/objdetect/test/test_cascadeandhog.cpp float t1 = hist[h1] + a[1]*w; hist 874 modules/objdetect/test/test_cascadeandhog.cpp hist[h0] = t0; hist[h1] = t1; hist 885 modules/objdetect/test/test_cascadeandhog.cpp float* hist = blockHist + pk.histOfs[0]; hist 887 modules/objdetect/test/test_cascadeandhog.cpp t0 = hist[h0] + a0*w; hist 888 modules/objdetect/test/test_cascadeandhog.cpp t1 = hist[h1] + a1*w; hist 889 modules/objdetect/test/test_cascadeandhog.cpp hist[h0] = t0; hist[h1] = t1; hist 891 modules/objdetect/test/test_cascadeandhog.cpp hist = blockHist + pk.histOfs[1]; hist 893 modules/objdetect/test/test_cascadeandhog.cpp t0 = hist[h0] + a0*w; hist 894 modules/objdetect/test/test_cascadeandhog.cpp t1 = hist[h1] + a1*w; hist 895 modules/objdetect/test/test_cascadeandhog.cpp hist[h0] = t0; hist[h1] = t1; hist 906 modules/objdetect/test/test_cascadeandhog.cpp float* hist = blockHist + pk.histOfs[0]; hist 908 modules/objdetect/test/test_cascadeandhog.cpp t0 = hist[h0] + a0*w; hist 909 modules/objdetect/test/test_cascadeandhog.cpp t1 = hist[h1] + a1*w; hist 910 modules/objdetect/test/test_cascadeandhog.cpp hist[h0] = t0; hist[h1] = t1; hist 912 modules/objdetect/test/test_cascadeandhog.cpp hist = blockHist + pk.histOfs[1]; hist 914 modules/objdetect/test/test_cascadeandhog.cpp t0 = hist[h0] + a0*w; hist 915 modules/objdetect/test/test_cascadeandhog.cpp t1 = hist[h1] + a1*w; hist 916 modules/objdetect/test/test_cascadeandhog.cpp hist[h0] = t0; hist[h1] = t1; hist 918 modules/objdetect/test/test_cascadeandhog.cpp hist = blockHist + pk.histOfs[2]; hist 920 modules/objdetect/test/test_cascadeandhog.cpp t0 = hist[h0] + a0*w; hist 921 modules/objdetect/test/test_cascadeandhog.cpp t1 = hist[h1] + a1*w; hist 922 modules/objdetect/test/test_cascadeandhog.cpp hist[h0] = t0; hist[h1] = t1; hist 924 modules/objdetect/test/test_cascadeandhog.cpp hist = blockHist + pk.histOfs[3]; hist 926 modules/objdetect/test/test_cascadeandhog.cpp t0 = hist[h0] + a0*w; hist 927 modules/objdetect/test/test_cascadeandhog.cpp t1 = hist[h1] + a1*w; hist 928 modules/objdetect/test/test_cascadeandhog.cpp hist[h0] = t0; hist[h1] = t1; hist 938 modules/objdetect/test/test_cascadeandhog.cpp float* hist = &_hist[0], partSum[4] = { 0.0f, 0.0f, 0.0f, 0.0f }; hist 943 modules/objdetect/test/test_cascadeandhog.cpp partSum[0] += hist[i] * hist[i]; hist 944 modules/objdetect/test/test_cascadeandhog.cpp partSum[1] += hist[i+1] * hist[i+1]; hist 945 modules/objdetect/test/test_cascadeandhog.cpp partSum[2] += hist[i+2] * hist[i+2]; hist 946 modules/objdetect/test/test_cascadeandhog.cpp partSum[3] += hist[i+3] * hist[i+3]; hist 952 modules/objdetect/test/test_cascadeandhog.cpp sum += hist[i]*hist[i]; hist 958 modules/objdetect/test/test_cascadeandhog.cpp hist[i] = std::min(hist[i]*scale, thresh); hist 959 modules/objdetect/test/test_cascadeandhog.cpp hist[i+1] = std::min(hist[i+1]*scale, thresh); hist 960 modules/objdetect/test/test_cascadeandhog.cpp hist[i+2] = std::min(hist[i+2]*scale, thresh); hist 961 modules/objdetect/test/test_cascadeandhog.cpp hist[i+3] = std::min(hist[i+3]*scale, thresh); hist 962 modules/objdetect/test/test_cascadeandhog.cpp partSum[0] += hist[i]*hist[i]; hist 963 modules/objdetect/test/test_cascadeandhog.cpp partSum[1] += hist[i+1]*hist[i+1]; hist 964 modules/objdetect/test/test_cascadeandhog.cpp partSum[2] += hist[i+2]*hist[i+2]; hist 965 modules/objdetect/test/test_cascadeandhog.cpp partSum[3] += hist[i+3]*hist[i+3]; hist 972 modules/objdetect/test/test_cascadeandhog.cpp hist[i] = std::min(hist[i]*scale, thresh); hist 973 modules/objdetect/test/test_cascadeandhog.cpp sum += hist[i]*hist[i]; hist 978 modules/objdetect/test/test_cascadeandhog.cpp hist[i] *= scale; hist 249 modules/photo/src/align.cpp Mat hist; hist 253 modules/photo/src/align.cpp calcHist(&img, 1, &channels, Mat(), hist, 1, &hist_size, ranges); hist 254 modules/photo/src/align.cpp float *ptr = hist.ptr<float>(); hist 221 samples/android/image-manipulations/src/org/opencv/samples/imagemanipulations/ImageManipulationsActivity.java Mat hist = new Mat(); hist 227 samples/android/image-manipulations/src/org/opencv/samples/imagemanipulations/ImageManipulationsActivity.java Imgproc.calcHist(Arrays.asList(rgba), mChannels[c], mMat0, hist, mHistSize, mRanges); hist 228 samples/android/image-manipulations/src/org/opencv/samples/imagemanipulations/ImageManipulationsActivity.java Core.normalize(hist, hist, sizeRgba.height/2, 0, Core.NORM_INF); hist 229 samples/android/image-manipulations/src/org/opencv/samples/imagemanipulations/ImageManipulationsActivity.java hist.get(0, 0, mBuff); hist 240 samples/android/image-manipulations/src/org/opencv/samples/imagemanipulations/ImageManipulationsActivity.java Imgproc.calcHist(Arrays.asList(mIntermediateMat), mChannels[2], mMat0, hist, mHistSize, mRanges); hist 241 samples/android/image-manipulations/src/org/opencv/samples/imagemanipulations/ImageManipulationsActivity.java Core.normalize(hist, hist, sizeRgba.height/2, 0, Core.NORM_INF); hist 242 samples/android/image-manipulations/src/org/opencv/samples/imagemanipulations/ImageManipulationsActivity.java hist.get(0, 0, mBuff); hist 250 samples/android/image-manipulations/src/org/opencv/samples/imagemanipulations/ImageManipulationsActivity.java Imgproc.calcHist(Arrays.asList(mIntermediateMat), mChannels[0], mMat0, hist, mHistSize, mRanges); hist 251 samples/android/image-manipulations/src/org/opencv/samples/imagemanipulations/ImageManipulationsActivity.java Core.normalize(hist, hist, sizeRgba.height/2, 0, Core.NORM_INF); hist 252 samples/android/image-manipulations/src/org/opencv/samples/imagemanipulations/ImageManipulationsActivity.java hist.get(0, 0, mBuff); hist 102 samples/cpp/camshiftdemo.cpp Mat frame, hsv, hue, mask, hist, histimg = Mat::zeros(200, 320, CV_8UC3), backproj; hist 133 samples/cpp/camshiftdemo.cpp calcHist(&roi, 1, 0, maskroi, hist, 1, &hsize, &phranges); hist 134 samples/cpp/camshiftdemo.cpp normalize(hist, hist, 0, 255, NORM_MINMAX); hist 148 samples/cpp/camshiftdemo.cpp int val = saturate_cast<int>(hist.at<float>(i)*histimg.rows/255); hist 155 samples/cpp/camshiftdemo.cpp calcBackProject(&hue, 1, 0, hist, backproj, &phranges); hist 41 samples/cpp/demhist.cpp Mat dst, hist; hist 45 samples/cpp/demhist.cpp calcHist(&dst, 1, 0, Mat(), hist, 1, &histSize, 0); hist 48 samples/cpp/demhist.cpp normalize(hist, hist, 0, histImage.rows, NORM_MINMAX, CV_32F); hist 55 samples/cpp/demhist.cpp Point((i+1)*binW, histImage.rows - cvRound(hist.at<float>(i))), hist 385 samples/cpp/detect_mser.cpp Mat hist; hist 387 samples/cpp/detect_mser.cpp calcHist(&img, 1, 0, Mat(), hist, 1, &histSize, histRange, true, false); hist 389 samples/cpp/detect_mser.cpp for (int i = 0; i < hist.rows ; i++) hist 391 samples/cpp/detect_mser.cpp if (hist.at<float>(i, 0)!=0) hist 393 samples/cpp/detect_mser.cpp cout << "h" << i << "=\t" << hist.at<float>(i, 0) << "\n"; hist 60 samples/cpp/tutorial_code/Histograms_Matching/calcBackProject_Demo1.cpp MatND hist; hist 66 samples/cpp/tutorial_code/Histograms_Matching/calcBackProject_Demo1.cpp calcHist( &hue, 1, 0, Mat(), hist, 1, &histSize, &ranges, true, false ); hist 67 samples/cpp/tutorial_code/Histograms_Matching/calcBackProject_Demo1.cpp normalize( hist, hist, 0, 255, NORM_MINMAX, -1, Mat() ); hist 71 samples/cpp/tutorial_code/Histograms_Matching/calcBackProject_Demo1.cpp calcBackProject( &hue, 1, 0, hist, backproj, &ranges, 1, true ); hist 82 samples/cpp/tutorial_code/Histograms_Matching/calcBackProject_Demo1.cpp { rectangle( histImg, Point( i*bin_w, h ), Point( (i+1)*bin_w, h - cvRound( hist.at<float>(i)*h/255.0 ) ), Scalar( 0, 0, 255 ), -1 ); } hist 82 samples/cpp/tutorial_code/Histograms_Matching/calcBackProject_Demo2.cpp MatND hist; hist 93 samples/cpp/tutorial_code/Histograms_Matching/calcBackProject_Demo2.cpp calcHist( &hsv, 1, channels, mask, hist, 2, histSize, ranges, true, false ); hist 95 samples/cpp/tutorial_code/Histograms_Matching/calcBackProject_Demo2.cpp normalize( hist, hist, 0, 255, NORM_MINMAX, -1, Mat() ); hist 99 samples/cpp/tutorial_code/Histograms_Matching/calcBackProject_Demo2.cpp calcBackProject( &hsv, 1, channels, hist, backproj, ranges, 1, true ); hist 102 samples/tapi/camshift.cpp cv::UMat hsv, hist, hue, mask, backproj; hist 135 samples/tapi/camshift.cpp maskroi, hist, std::vector<int>(1, hsize), std::vector<float>(hranges, hranges + 2)); hist 136 samples/tapi/camshift.cpp cv::normalize(hist, hist, 0, 255, cv::NORM_MINMAX); hist 149 samples/tapi/camshift.cpp cv::Mat _hist = hist.getMat(cv::ACCESS_READ); hist 160 samples/tapi/camshift.cpp cv::calcBackProject(std::vector<cv::UMat>(1, hue), std::vector<int>(1, 0), hist, backproj, hist 1369 samples/winrt/ImageManipulations/MediaExtensions/OcvTransform/OcvTransform.cpp cv::Mat hist; hist 1370 samples/winrt/ImageManipulations/MediaExtensions/OcvTransform/OcvTransform.cpp cv::calcHist(&BgrFrame, 1, channels[c], cv::Mat(), hist, 1, mHistSize, ranges); hist 1371 samples/winrt/ImageManipulations/MediaExtensions/OcvTransform/OcvTransform.cpp cv::normalize(hist, hist, BgrFrame.rows/2, 0, cv::NORM_INF); hist 1377 samples/winrt/ImageManipulations/MediaExtensions/OcvTransform/OcvTransform.cpp mP2.y = mP1.y - 2 - (int)hist.at<float>(h);