Make imgproc.hpp independent from C API
This commit is contained in:
@@ -197,7 +197,7 @@ void detectAndDraw( Mat& img,
|
||||
cv::ocl::oclMat image(img);
|
||||
cv::ocl::oclMat gray, smallImg( cvRound (img.rows/scale), cvRound(img.cols/scale), CV_8UC1 );
|
||||
|
||||
cv::ocl::cvtColor( image, gray, CV_BGR2GRAY );
|
||||
cv::ocl::cvtColor( image, gray, COLOR_BGR2GRAY );
|
||||
cv::ocl::resize( gray, smallImg, smallImg.size(), 0, 0, INTER_LINEAR );
|
||||
cv::ocl::equalizeHist( smallImg, smallImg );
|
||||
|
||||
|
Reference in New Issue
Block a user