Make imgproc.hpp independent from C API
This commit is contained in:
@@ -41,7 +41,7 @@ int main( int argc, const char** argv )
|
||||
return -1;
|
||||
}
|
||||
Mat cimg;
|
||||
cvtColor(img, cimg, CV_GRAY2BGR);
|
||||
cvtColor(img, cimg, COLOR_GRAY2BGR);
|
||||
|
||||
// if the image and the template are not edge maps but normal grayscale images,
|
||||
// you might want to uncomment the lines below to produce the maps. You can also
|
||||
|
Reference in New Issue
Block a user