1
0
mirror of https://github.com/opencv/opencv_contrib.git synced 2025-10-19 19:44:14 +08:00

minor changes

This commit is contained in:
Suleyman TURKMEN
2018-10-31 19:38:19 +03:00
parent 6703cddd93
commit 2074cc48e5
24 changed files with 72 additions and 119 deletions

View File

@@ -102,7 +102,7 @@ void sobelExtractor(const Mat img, const Rect roi, Mat& feat){
//! [insideimage]
patch=img(region).clone();
cvtColor(patch,patch, CV_BGR2GRAY);
cvtColor(patch,patch, COLOR_BGR2GRAY);
//! [padding]
// add some padding to compensate when the patch is outside image border