• Home
  • Raw
  • Download

Lines Matching refs:cv

117     filter, GstBuffer * buf, cv::Mat img);
180 cv::Mat newTemplateImage; in gst_template_match_load_template()
183 newTemplateImage = cv::imread (templ); in gst_template_match_load_template()
199 filter->cvTemplateImage = cv::Mat (newTemplateImage); in gst_template_match_load_template()
216 filter->method = cv::TM_SQDIFF; in gst_template_match_set_property()
219 filter->method = cv::TM_SQDIFF_NORMED; in gst_template_match_set_property()
222 filter->method = cv::TM_CCORR; in gst_template_match_set_property()
225 filter->method = cv::TM_CCORR_NORMED; in gst_template_match_set_property()
228 filter->method = cv::TM_CCOEFF; in gst_template_match_set_property()
231 filter->method = cv::TM_CCOEFF_NORMED; in gst_template_match_set_property()
289 gst_template_match_match (cv::Mat input, cv::Mat templ, in gst_template_match_match()
290 cv::Mat dist_image, double *best_res, cv::Point * best_pos, int method) in gst_template_match_match()
293 cv::Point min_pos, max_pos; in gst_template_match_match()
296 if ((cv::TM_SQDIFF_NORMED == method) || (cv::TM_SQDIFF == method)) { in gst_template_match_match()
299 if (cv::TM_SQDIFF_NORMED == method) { in gst_template_match_match()
313 cv::Mat img) in gst_template_match_transform_ip()
316 cv::Point best_pos; in gst_template_match_transform_ip()
336 filter->cvDistImage.create (cv::Size (img.size ().width - in gst_template_match_transform_ip()
359 cv::Point corner = best_pos; in gst_template_match_transform_ip()
360 cv::Scalar color; in gst_template_match_transform_ip()
361 if (filter->method == cv::TM_SQDIFF_NORMED in gst_template_match_transform_ip()
362 || filter->method == cv::TM_CCORR_NORMED in gst_template_match_transform_ip()
363 || filter->method == cv::TM_CCOEFF_NORMED) { in gst_template_match_transform_ip()
376 cv::rectangle (img, best_pos, corner, color, 3, 8, 0); in gst_template_match_transform_ip()