Go to Post A good teacher always needs to be a good student - Redhead Jokes [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 15-01-2009, 16:01
jacobhurwitz jacobhurwitz is offline
Registered User
FRC #0449 (Blair Robot Project)
Team Role: Programmer
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Maryland
Posts: 45
jacobhurwitz has a spectacular aura aboutjacobhurwitz has a spectacular aura aboutjacobhurwitz has a spectacular aura about
449's code for tracking two colors

FIRST recently posted some code to track two colors (http://joule.ni.com/nidu/cds/view/p/lang/en/id/1215). However, our team had already written similar code, and after comparing the two, we think that our team's code is easier to understand and perhaps even faster. The main difference (as far as I can tell) is that FIRST's code will move the camera to track the object while our code only returns a position.

In the spirit of gracious professionalism, we decided to make our team's code available to everyone. You're welcome to use this code and/or modify to suit your own team's needs. If you find anything wrong with our code*, please let us know as well. Also, you'll need to change the color value ranges and minimum area and distances.

*If you look at the image outputs, you might see that they "flicker" occasionally. We think this is only a problem with the image output because the numerical output parameters look fine.

EDIT: fixed parenthesis in link
Attached Files
File Type: zip LocateTwoColoredObjects 449 for Chief Delphi 01-15-09.zip (86.2 KB, 218 views)

Last edited by jacobhurwitz : 16-01-2009 at 10:01.
Reply With Quote
 


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
Two Color Tracking Demo Bharat Nain Programming 43 25-01-2009 18:58
Using kevin's code for driving and camera tracking razzoc Programming 3 18-02-2007 08:50
Tracking two lights Render Programming 5 29-01-2007 18:14
tracking two tetras? Anton Programming 5 09-02-2005 15:02
Tracking Different Colors russell Programming 2 06-02-2005 22:40


All times are GMT -5. The time now is 12:17.

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