Lines Matching refs:gray_image
363 UMat gray_image; in find() local
367 cvtColor(image, gray_image, COLOR_BGR2GRAY); in find()
371 gray_image = image.getUMat(); in find()
375 detector_->detect(gray_image, features.keypoints); in find()
376 extractor_->compute(gray_image, features.keypoints, features.descriptors); in find()
381 surf->detectAndCompute(gray_image, Mat(), features.keypoints, descriptors); in find()
394 UMat gray_image; in find() local
399 cvtColor(image, gray_image, COLOR_BGR2GRAY); in find()
401 cvtColor(image, gray_image, COLOR_BGRA2GRAY); in find()
403 gray_image = image.getUMat(); in find()
409 orb->detectAndCompute(gray_image, Mat(), features.keypoints, features.descriptors); in find()
422 int xl = c * gray_image.cols / grid_size.width; in find()
423 int yl = r * gray_image.rows / grid_size.height; in find()
424 int xr = (c+1) * gray_image.cols / grid_size.width; in find()
425 int yr = (r+1) * gray_image.rows / grid_size.height; in find()
433 UMat gray_image_part=gray_image(Range(yl, yr), Range(xl, xr)); in find()