Merge pull request #12246 from sturkmen72:move_enums
* Update core.hpp * Update imgproc.hpp * Update ImgprocTest.java * Update CameraCalibrator.java * Update OnCameraFrameRender.java * Update FindContoursDemo.java * Update IntroductionToSVMDemo.java * Update NonLinearSVMsDemo.java * Update IntroductionToPCADemo.java * Update Smoothing.java * Update MainActivity.java * Update CalcBackProjectDemo1.java * Update CornerSubPixDemo.java * Update CornerDetectorDemo.java * Update GoodFeaturesToTrackDemo.java
This commit is contained in:
committed by
Alexander Alekhin
parent
6356403964
commit
d8cd1d8fcc
+1
-1
@@ -145,7 +145,7 @@ class CalcBackProject1 {
|
||||
hist.get(0, 0, histData);
|
||||
for (int i = 0; i < bins; i++) {
|
||||
Imgproc.rectangle(histImg, new Point(i * binW, h),
|
||||
new Point((i + 1) * binW, h - Math.round(histData[i] * h / 255.0)), new Scalar(0, 0, 255), Core.FILLED);
|
||||
new Point((i + 1) * binW, h - Math.round(histData[i] * h / 255.0)), new Scalar(0, 0, 255), Imgproc.FILLED);
|
||||
}
|
||||
Image histImage = HighGui.toBufferedImage(histImg);
|
||||
histImgLabel.setIcon(new ImageIcon(histImage));
|
||||
|
||||
Reference in New Issue
Block a user