Go to Post Corn dogs for everyone! - DCA Fan [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 02-02-2009, 13:47
Delian Delian is offline
Registered User
FRC #3006
 
Join Date: Dec 2008
Location: Salt Lake City
Posts: 16
Delian is on a distinguished road
Image Tracking with a Template

Me and my team have successfully implemented the image tracking code, and it is consistent, however it is a bit delayed. We were thinking that the reaction time might be sped up if we had Labview recognize a template rather than recognizing pixel colors. We uploaded the image via ftp to the robot, and we used FRC Vision Assistant and converted it into Labview code. Our problem is that we get an unidentified error coming out from the IMAQ Template Recognizer and we do not know how to even begin debugging the automatically generated code. Does anyone have any suggestions or code which recognizes a template?
Reply With Quote
  #2   Spotlight this post!  
Unread 02-02-2009, 22:25
Greg McKaskle Greg McKaskle is online now
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,748
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Image Tracking with a Template

I do not think this will speed things up. Templates are quite computationally expensive. Color histogram templates are somewhat less expensive, but the threshold and particle approach in the examples showed to be way faster.

If you want to step through the autogenerated code, it isn't that hard. Start it running and start opening panels looking to see if the code had a runtime error. If the panel doesn't update at all, it is because it is reentrant, but otherwise you can track things down a layer at a time.

Greg McKaskle
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with tracking Shinsa Programming 2 07-02-2010 14:35
Issue with Color Tracking Example (C/C++) and with Counters, Encoders, and Ultrasonic BradAMiller Programming 3 19-01-2009 21:24
Invalid color template image? hellochar NI LabVIEW 3 18-01-2009 17:05
trouble with beacon tracking code [53] opticruzer Programming 9 27-01-2004 12:19


All times are GMT -5. The time now is 08:06.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi