Home
last modified time | relevance | path

Searched refs:bin_w (Results 1 – 5 of 5) sorted by relevance

/external/opencv3/samples/cpp/tutorial_code/Histograms_Matching/
DcalcHist_Demo.cpp51 int bin_w = cvRound( (double) hist_w/histSize ); in main() local
63 line( histImage, Point( bin_w*(i-1), hist_h - cvRound(b_hist.at<float>(i-1)) ) , in main()
64 Point( bin_w*(i), hist_h - cvRound(b_hist.at<float>(i)) ), in main()
66 line( histImage, Point( bin_w*(i-1), hist_h - cvRound(g_hist.at<float>(i-1)) ) , in main()
67 Point( bin_w*(i), hist_h - cvRound(g_hist.at<float>(i)) ), in main()
69 line( histImage, Point( bin_w*(i-1), hist_h - cvRound(r_hist.at<float>(i-1)) ) , in main()
70 Point( bin_w*(i), hist_h - cvRound(r_hist.at<float>(i)) ), in main()
DcalcBackProject_Demo1.cpp78 int bin_w = cvRound( (double) w / histSize ); in Hist_and_Backproj() local
82 …{ rectangle( histImg, Point( i*bin_w, h ), Point( (i+1)*bin_w, h - cvRound( hist.at<float>(i)*h/25… in Hist_and_Backproj()
/external/opencv3/samples/python2/
Dcamshift.py65 bin_w = 24
66 img = np.zeros((256, bin_count*bin_w, 3), np.uint8)
69 …cv2.rectangle(img, (i*bin_w+2, 255), ((i+1)*bin_w-2, 255-h), (int(180.0*i/bin_count), 255, 255), -…
/external/opencv3/doc/tutorials/imgproc/histograms/histogram_calculation/
Dhistogram_calculation.markdown144 int bin_w = cvRound( (double) hist_w/histSize );
172 line( histImage, Point( bin_w*(i-1), hist_h - cvRound(b_hist.at<float>(i-1)) ) ,
173 Point( bin_w*(i), hist_h - cvRound(b_hist.at<float>(i)) ),
175 line( histImage, Point( bin_w*(i-1), hist_h - cvRound(g_hist.at<float>(i-1)) ) ,
176 Point( bin_w*(i), hist_h - cvRound(g_hist.at<float>(i)) ),
178 line( histImage, Point( bin_w*(i-1), hist_h - cvRound(r_hist.at<float>(i-1)) ) ,
179 Point( bin_w*(i), hist_h - cvRound(r_hist.at<float>(i)) ),
/external/opencv3/doc/tutorials/imgproc/histograms/back_projection/
Dback_projection.markdown163 int bin_w = cvRound( (double) w / histSize );
167 …{ rectangle( histImg, Point( i*bin_w, h ), Point( (i+1)*bin_w, h - cvRound( hist.at<float>(i)*h/25…