05-10-2010 12:24 PM
05-11-2010 05:43 AM
05-11-2010 09:43 AM
Thanks for the response (I'm the one who posted the original question, didn't realize I was logged into someone else's account).
Yes, I hope to overlay the match found. I'd opted to try "IMAQ Overlay Multiple Lines" because it accepts the
matches->bounding box output of "IMAQ Match Color Pattern" directly but I'll try overlaying a rectangle instead.
As far as the other problem goes (no matches being found when supplied with frames from an AVI video), any ideas?
I've attached block diagram and front panel images - thanks again.
05-11-2010 11:14 AM
Hi Alan,
Would you mind attaching a few images that you are trying to find the color match pattern within?
Thanks,
05-11-2010 12:04 PM
Hi Chancenator,
I was actually the one who posted the original question (I logged-out of Alan's account right before submitting the post but it still showed-up as him).
I've attached an image (screen shot of a frame from the AVI). The fish (silhouette in the middle of the image) is being tracked in this case. The rectangular template I used for match color pattern includes half the fish's body and some green space surrounding it (almost all frames were matched when I tested within Vision Assistant before exporting the VI). Please let me know if you have any questions.
Thanks a lot.
05-12-2010 09:12 AM
Try this
05-12-2010 11:34 AM
Thanks Muks, that pretty much worked with a small modification:
Where can I learn more about what all the Bounding Box data refers to? I ask because when I used,
Bounding Box[0].x
Bounding Box[0].y
Bounding Box[3].x
Bounding Box[3].y
the resulting rectangle seemed to be identical in size and shape to the match template but overlaid in the wrong place.
Thanks.
05-13-2010 11:37 PM
05-14-2010 12:31 AM
06-01-2010 04:36 PM
Hi Muks, I was just wondering if you have any thoughts on the second problem that I mentioned (Match Color Pattern working for a single image but not working for a sequence of frames extracted from an AVI).
Thanks.