Lines Matching refs:selection
16 static cv::Rect selection;
25 selection.x = std::min(x, origin.x);
26 selection.y = std::min(y, origin.y);
27 selection.width = std::abs(x - origin.x);
28 selection.height = std::abs(y - origin.y);
30 selection &= cv::Rect(0, 0, image.cols, image.rows);
37 selection = cv::Rect(x, y, 0, 0);
42 if (selection.width > 0 && selection.height > 0)
133 cv::UMat roi(hue, selection), maskroi(mask, selection);
138 trackWindow = selection;
186 if (selectObject && selection.width > 0 && selection.height > 0)
188 cv::UMat roi(image, selection);