Searched defs:histImage (Results 1 - 1 of 1) sorted by relevance
/external/opencv3/samples/cpp/ |
H A D | demhist.cpp | 46 Mat histImage = Mat::ones(200, 320, CV_8U)*255; local 48 normalize(hist, hist, 0, histImage.rows, NORM_MINMAX, CV_32F); 50 histImage = Scalar::all(255); 51 int binW = cvRound((double)histImage.cols/histSize); 54 rectangle( histImage, Point(i*binW, histImage.rows), 55 Point((i+1)*binW, histImage.rows - cvRound(hist.at<float>(i))), 57 imshow("histogram", histImage);
|
Completed in 43 milliseconds