fixing Java test and sample after moving drawContours() from Imgproc to Core

This commit is contained in:
Andrey Pavlenko
2012-05-29 11:04:04 +00:00
parent 40e8d08e8d
commit eb4ce67dac
2 changed files with 3 additions and 3 deletions

View File

@@ -203,7 +203,7 @@ public class ColorBlobDetectionView extends SampleCvViewBase implements OnTouchL
filteredContours.add(new MatOfPoint(contour));
}
Imgproc.drawContours(mRgba, filteredContours, -1, new Scalar(255,0,0,255));
Core.drawContours(mRgba, filteredContours, -1, new Scalar(255,0,0,255));
Mat testColorMat = mRgba.submat(2, 34, 2, 34);
testColorMat.setTo(mSelectedColorRgba);