mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 23:33:05 +04:00
Move border type constants and Moments class to core module
This commit is contained in:
@@ -1364,7 +1364,7 @@ void CirclesGridFinder::drawHoles(const Mat &srcImage, Mat &drawImage) const
|
||||
const Scalar holeColor = Scalar(0, 255, 0);
|
||||
|
||||
if (srcImage.channels() == 1)
|
||||
cvtColor(srcImage, drawImage, CV_GRAY2RGB);
|
||||
cvtColor(srcImage, drawImage, COLOR_GRAY2RGB);
|
||||
else
|
||||
srcImage.copyTo(drawImage);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user