mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 15:23:05 +04:00
Move border type constants and Moments class to core module
This commit is contained in:
@@ -69,8 +69,8 @@ void CV_BRISKTest::run( int )
|
||||
}
|
||||
|
||||
Mat gray1, gray2;
|
||||
cvtColor(image1, gray1, CV_BGR2GRAY);
|
||||
cvtColor(image2, gray2, CV_BGR2GRAY);
|
||||
cvtColor(image1, gray1, COLOR_BGR2GRAY);
|
||||
cvtColor(image2, gray2, COLOR_BGR2GRAY);
|
||||
|
||||
Ptr<FeatureDetector> detector = Algorithm::create<FeatureDetector>("Feature2D.BRISK");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user