Home
last modified time | relevance | path

Searched refs:calcHist (Results 1 – 25 of 38) sorted by relevance

12

/external/opencv3/samples/cpp/tutorial_code/Histograms_Matching/
DcompareHist_Demo.cpp65 calcHist( &hsv_base, 1, channels, Mat(), hist_base, 2, histSize, ranges, true, false ); in main()
68calcHist( &hsv_half_down, 1, channels, Mat(), hist_half_down, 2, histSize, ranges, true, false ); in main()
71 calcHist( &hsv_test1, 1, channels, Mat(), hist_test1, 2, histSize, ranges, true, false ); in main()
74 calcHist( &hsv_test2, 1, channels, Mat(), hist_test2, 2, histSize, ranges, true, false ); in main()
DcalcHist_Demo.cpp45 calcHist( &bgr_planes[0], 1, 0, Mat(), b_hist, 1, &histSize, &histRange, uniform, accumulate ); in main()
46 calcHist( &bgr_planes[1], 1, 0, Mat(), g_hist, 1, &histSize, &histRange, uniform, accumulate ); in main()
47 calcHist( &bgr_planes[2], 1, 0, Mat(), r_hist, 1, &histSize, &histRange, uniform, accumulate ); in main()
DcalcBackProject_Demo1.cpp66 calcHist( &hue, 1, 0, Mat(), hist, 1, &histSize, &ranges, true, false ); in Hist_and_Backproj()
DcalcBackProject_Demo2.cpp93 calcHist( &hsv, 1, channels, mask, hist, 2, histSize, ranges, true, false ); in Hist_and_Backproj()
/external/opencv3/doc/py_tutorials/py_imgproc/py_histograms/py_histogram_begins/
Dpy_histogram_begins.markdown10 - You will see these functions : **cv2.calcHist()**, **np.histogram()** etc.
60 So now we use **cv2.calcHist()** function to find the histogram. Let's familiarize with the function
63 <center><em>cv2.calcHist(images, channels, mask, histSize, ranges[, hist[, accumulate]])</em></cent…
82 hist = cv2.calcHist([img],[0],None,[256],[0,256])
89 Numpy also provides you a function, **np.histogram()**. So instead of calcHist() function, you can
118 It directly finds the histogram and plot it. You need not use calcHist() or np.histogram() function
142 histr = cv2.calcHist([img],[i],None,[256],[0,256])
164 We used cv2.calcHist() to find the histogram of the full image. What if you want to find histograms
177 hist_full = cv2.calcHist([img],[0],None,[256],[0,256])
178 hist_mask = cv2.calcHist([img],[0],mask,[256],[0,256])
/external/opencv3/doc/tutorials/imgproc/histograms/histogram_calculation/
Dhistogram_calculation.markdown10 - To calculate histograms of arrays of images by using the OpenCV function @ref cv::calcHist
56 For simple purposes, OpenCV implements the function @ref cv::calcHist , which calculates the
66 - Calculate the Histogram of each 1-channel plane by calling the function @ref cv::calcHist
117 -# We proceed to calculate the histograms by using the OpenCV function @ref cv::calcHist :
120calcHist( &bgr_planes[0], 1, 0, Mat(), b_hist, 1, &histSize, &histRange, uniform, accumulate );
121calcHist( &bgr_planes[1], 1, 0, Mat(), g_hist, 1, &histSize, &histRange, uniform, accumulate );
122calcHist( &bgr_planes[2], 1, 0, Mat(), r_hist, 1, &histSize, &histRange, uniform, accumulate );
194 namedWindow("calcHist Demo", WINDOW_AUTOSIZE );
195 imshow("calcHist Demo", histImage );
/external/opencv3/modules/imgproc/test/ocl/
Dtest_histogram.cpp125 cv::calcHist(images_roi, channels, noArray(), tmpHist, hist_size, ranges); in PARAM_TEST_CASE()
165 calcHist(&frame1, 1, 0, Mat(), hist1, 1, &histSize, &ranges1, true, false); in PARAM_TEST_CASE()
263 …OCL_OFF(cv::calcHist(std::vector<Mat>(1, src_roi), channels, noArray(), hist_roi, histSize, ranges… in OCL_TEST_P()
264 …OCL_ON(cv::calcHist(std::vector<UMat>(1, usrc_roi), channels, noArray(), uhist_roi, histSize, rang… in OCL_TEST_P()
/external/opencv3/modules/cudaimgproc/test/
Dtest_histogram.cpp81 cv::calcHist(&src, 1, channels, cv::Mat(), hist_gold, 1, histSize, ranges); in CUDA_TEST_P()
116 cv::cuda::calcHist(loadMat(src), hist); in CUDA_TEST_P()
126 cv::calcHist(&src, 1, channels, cv::Mat(), hist_gold, 1, histSize, ranges); in CUDA_TEST_P()
/external/opencv3/modules/imgproc/perf/
Dperf_histogram.cpp40 calcHist(&source, numberOfImages, channels, Mat(), hist, dims, histSize, ranges); in PERF_TEST_P()
68 calcHist(&source, numberOfImages, channels, Mat(), hist, dims, histSize, ranges); in PERF_TEST_P()
96 calcHist(&source, numberOfImages, channels, Mat(), hist, dims, histSize, ranges); in PERF_TEST_P()
/external/opencv3/doc/py_tutorials/py_imgproc/py_histograms/py_histogram_backprojection/
Dpy_histogram_backprojection.markdown48 # Find the histograms using calcHist. Can be done with np.histogram2d also
49 M = cv2.calcHist([hsv],[0, 1], None, [180, 256], [0, 180, 0, 256] )
50 I = cv2.calcHist([hsvt],[0, 1], None, [180, 256], [0, 180, 0, 256] )
80 **cv2.calcHist()** function. One of its parameter is histogram which is histogram of the object and
95 roihist = cv2.calcHist([hsv],[0, 1], None, [180, 256], [0, 180, 0, 256] )
/external/opencv3/samples/python2/
Dhist.py30 hist_item = cv2.calcHist([im],[ch],None,[256],[0,256])
44 hist_item = cv2.calcHist([im],[0],None,[256],[0,256])
Dcolor_histogram.py45 h = cv2.calcHist( [hsv], [0, 1], None, [180, 256], [0, 180, 0, 256] )
Dcamshift.py85 hist = cv2.calcHist( [hsv_roi], [0], mask_roi, [16], [0, 180] )
/external/opencv3/doc/tutorials/imgproc/histograms/histogram_comparison/
Dhistogram_comparison.markdown105 calcHist( &hsv_base, 1, channels, Mat(), hist_base, 2, histSize, ranges, true, false );
108calcHist( &hsv_half_down, 1, channels, Mat(), hist_half_down, 2, histSize, ranges, true, false );
111 calcHist( &hsv_test1, 1, channels, Mat(), hist_test1, 2, histSize, ranges, true, false );
114 calcHist( &hsv_test2, 1, channels, Mat(), hist_test2, 2, histSize, ranges, true, false );
/external/chromium-trace/catapult/telemetry/telemetry/internal/image_processing/
Dimage_util_numpy_impl.py162 hist_b = flatten(cv2.calcHist([image], [0], mask, [256], [0, 256]))
163 hist_g = flatten(cv2.calcHist([image], [1], mask, [256], [0, 256]))
164 hist_r = flatten(cv2.calcHist([image], [2], mask, [256], [0, 256]))
/external/opencv3/modules/cudaimgproc/perf/
Dperf_histogram.cpp81 TEST_CYCLE() cv::calcHist(&src, 1, channels, cv::Mat(), dst, 1, histSize, ranges); in PERF_TEST_P()
143 TEST_CYCLE() cv::cuda::calcHist(d_src, dst); in PERF_TEST_P()
/external/opencv3/samples/android/image-manipulations/src/org/opencv/samples/imagemanipulations/
DImageManipulationsActivity.java227 … Imgproc.calcHist(Arrays.asList(rgba), mChannels[c], mMat0, hist, mHistSize, mRanges); in onCameraFrame()
240 … Imgproc.calcHist(Arrays.asList(mIntermediateMat), mChannels[2], mMat0, hist, mHistSize, mRanges); in onCameraFrame()
250 … Imgproc.calcHist(Arrays.asList(mIntermediateMat), mChannels[0], mMat0, hist, mHistSize, mRanges); in onCameraFrame()
/external/opencv3/doc/py_tutorials/py_imgproc/py_histograms/py_2d_histogram/
Dpy_2d_histogram.markdown27 It is quite simple and calculated using the same function, **cv2.calcHist()**. For color histograms,
44 hist = cv2.calcHist([hsv], [0, 1], None, [180, 256], [0, 180, 0, 256])
94 hist = cv2.calcHist( [hsv], [0, 1], None, [180, 256], [0, 180, 0, 256] )
/external/opencv3/samples/cpp/
Ddemhist.cpp45 calcHist(&dst, 1, 0, Mat(), hist, 1, &histSize, 0); in updateBrightnessContrast()
Dcamshiftdemo.cpp133 calcHist(&roi, 1, 0, maskroi, hist, 1, &hsize, &phranges); in main()
/external/opencv3/modules/imgproc/perf/opencl/
Dperf_imgproc.cpp93 …OCL_TEST_CYCLE() cv::calcHist(std::vector<UMat>(1, src), channels, noArray(), hist, histSize, rang… in OCL_PERF_TEST_P()
117 cv::calcHist(std::vector<UMat>(1, src), channels, noArray(), hist, histSize, ranges, false); in OCL_PERF_TEST_P()
/external/opencv3/modules/cudaimgproc/src/
Dhistogram.cpp50 void cv::cuda::calcHist(InputArray, OutputArray, Stream&) { throw_no_cuda(); } in calcHist() function in cv::cuda
74 void cv::cuda::calcHist(InputArray _src, OutputArray _hist, Stream& stream) in calcHist() function in cv::cuda
117 cuda::calcHist(src, hist, _stream); in equalizeHist()
Dgeneralized_hough.cpp477 void calcHist();
517 calcHist(); in processImage()
521 void GeneralizedHoughBallardImpl::calcHist() in calcHist() function in __anon161a480f0211::GeneralizedHoughBallardImpl
/external/opencv3/doc/py_tutorials/py_video/py_meanshift/
Dpy_meanshift.markdown60 roi_hist = cv2.calcHist([hsv_roi],[0],mask,[180],[0,180])
134 roi_hist = cv2.calcHist([hsv_roi],[0],mask,[180],[0,180])
/external/opencv3/doc/tutorials/imgproc/histograms/back_projection/
Dback_projection.markdown133 -# **Hist_and_Backproj function:** Initialize the arguments needed for @ref cv::calcHist . The
145 calcHist( &hue, 1, 0, Mat(), hist, 1, &histSize, &ranges, true, false );

12