|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#17
|
||||
|
||||
|
Re: Finding green/pink flags
I helped team 1124 make the red/blue target tracker with great success (double thumbs up).
in labview, you basically copy the image from the camera, do a color threshold for each picture, do a particle report for each picture, and decide which one of those reports is the "top" color and which is the "bottom" color. once you have that data, you run a loop as follows: for each "top color: check if the area of the color is big enough. if so: for each "bottom" color: check if the bottom color is directly below (with some tolerance) the "top" color. add the "top" target to the output targets array that basic algorithm allowed us to differentiate between red/green targets and green/red targets. there was a slight bit of extra post-processing to deal with multiple visible targets (basically you pick the uppermost one or the largest one etc). what you do with the final target(s) is up to you... we cached the previous target position and velocity to do second-degree motion prediction for the target in case we lose it. (amongst other things) Last edited by Uberbots : 10-01-2009 at 18:43. Reason: borat |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Flags???? | cprogrammer | Programming | 4 | 25-07-2005 20:21 |
| Flags | trdragons204 | General Forum | 2 | 23-03-2005 10:29 |
| Concerns regarding the green paneling/green shirts | Petey | General Forum | 127 | 15-01-2005 10:35 |
| 6 Flags | Raven_Writer | Chit-Chat | 12 | 30-07-2004 23:01 |
| Six Flags? | Hermione692 | Championship Event | 29 | 29-04-2003 21:12 |