Go to Post If I'm going to mentor someone, I'm going to be involved in their life as a positive force. - Mechvet [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 14-10-2008, 12:34
Daniel_LaFleur's Avatar
Daniel_LaFleur Daniel_LaFleur is offline
Mad Scientist
AKA: Me
FRC #2040 (DERT)
Team Role: Engineer
 
Join Date: Apr 2005
Rookie Year: 2003
Location: Peoria, IL
Posts: 1,959
Daniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond repute
Send a message via MSN to Daniel_LaFleur
Re: 2009 base C/C++ code?

Quote:
Originally Posted by Greg McKaskle View Post
I can't do much of a comparison -- I'm not familiar with the previous vision code.

The new library will be broken into a camera library with functions for connecting, getting an image, setting parameters of the camera, and an image processing library with functions for analyzing what is in an image. This includes shape based analysis, color based analysis, pattern based analysis, etc. The analysis section is based upon the NI vision library, so more details can be found online.

Greg McKaskle
Greg,

In the 'shape based' analysis, can the vision system interpolate orientation of a known 3-d object within the cameras field of vision? Can the vision system determine trajectory (in 3-d) based on movement and size change of a known shape/size object within the cameras field of vision?

or will we have to do the calculations outside of LV vision?
__________________
___________________
"We are not now that strength which in old days moved earth and heaven; that which we are, we are;
One equal temper of heroic hearts, Made weak by time and fate, but strong in will
To strive, to seek, to find, and not to yield. "
- Tennyson, Ulysses
  #2   Spotlight this post!  
Unread 14-10-2008, 13:08
Roger Roger is offline
Registered User
FRC #1153
 
Join Date: Jan 2006
Rookie Year: 1900
Location: Walpole MA
Posts: 684
Roger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond repute
Re: 2009 base C/C++ code?

From the demo video I saw (not a live demo), a table full of typical tools was flashed on the screen (overhead view), then right after a count of the different tools was displayed. From what I understand (and reading Greg's description above) the "shapes" (and colors and patterns) are programmed into the code somehow, then the code and/or hardware (I don't know which) does the dirty work grinding out which is what. Fairly quickly, I might add. Thus "shapes" could be tool profiles or letter outlines or game pieces. Same with colors. Size and rotation didn't matter, but the profile had to be similar to the pre-programmed profile. In a word----

I guess for 2009 the signs "Turn Left!" "Go Fast!" could really be read by the robot.

I'm thinking there must be a catch, or a trade-off, or something. The problems with the CMUcam was not that it couldn't read green vs red vs blue -- it could -- but that it would pick up arena lights from across the field. (I'm looking at you, Boston's BU arena!) The shapes I'm thinking have to be directly in front of the camera and on a plain contrasting background to be picked up clearly. I can't wait to see how well it really works.

Daniel, my guess is that the software/hardware can determine shape (profile), but your software would have to save size/rotation of the shape each "frame" to track differences between frames to determine trajectory. Or, wait and see.
  #3   Spotlight this post!  
Unread 14-10-2008, 21:52
Greg McKaskle Greg McKaskle is offline
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: 2009 base C/C++ code?

Quote:
Originally Posted by Daniel_LaFleur View Post
In the 'shape based' analysis, can the vision system interpolate orientation of a known 3-d object within the cameras field of vision? Can the vision system determine trajectory (in 3-d) based on movement and size change of a known shape/size object within the cameras field of vision?

or will we have to do the calculations outside of LV vision?
NI vision library is primarily for planar shapes. Typically chips on a board, or other bits of an object being manufactured. Additionally, the camera image is simply a 2D matrix of light intensities. Determining the difference between a scene of 3D objects, and a printed poster of the same scene is difficult even for humans, much more difficult for computers.

So if you are clever about how you use it, yes, you can use vision to measure things about the image and to interpret it in 3D. But no, it doesn't automatically infer 3D information from a camera image.

Greg McKaskle
  #4   Spotlight this post!  
Unread 20-10-2008, 20:52
ShotgunNinja's Avatar
ShotgunNinja ShotgunNinja is offline
Programming Mentor, FRC 4247
AKA: Nicholas Iannone
FRC #4247 (CougarBOTS)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2006
Location: Milwaukee, WI
Posts: 159
ShotgunNinja is a jewel in the roughShotgunNinja is a jewel in the roughShotgunNinja is a jewel in the roughShotgunNinja is a jewel in the rough
Re: 2009 base C/C++ code?

So, in summary, it's very similar to the tracking and profiling systems found in newer security cameras? I've read in a few-years-old PopSci somewhere that some newer camera systems were incorporating a collection of two-color bitmaps to profile shape and direction of people walking by. Is it something similar?

EDIT: Also, any new hustle and bustle from the FIRST officials about my hint (see above) ? Again, I'd LOOOVE to see the OOP approach to something like this. It just makes me feel even smarter
__________________
Team #2970 Alum
Team #1652 Alum
2006: School Mascot for Team 1652
2007-2008: Programmer for Team 1652 (Robot Mafia)
2009: Programmer on Team 1652 (Robot Mafia), Programmer on Team 2970 (eSchool eBots)
2010-2016: Volunteer, Wisconsin Regional
2017: Programming Mentor, FRC 4247 (CougarBOTS, Obama SCTE, Milwaukee, WI)
  #5   Spotlight this post!  
Unread 20-10-2008, 21:06
Greg McKaskle Greg McKaskle is offline
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: 2009 base C/C++ code?

If the templates are bitmap based, then this is what IMAQ would refer to as pattern based shape recognition. The patterns are trained in advance, and a scene is examined for instances of the pattern.

Geometric recognition, by contrast finds the high contrast lines in a image and compares their shape against the template shapes.

Greg McKaskle
  #6   Spotlight this post!  
Unread 24-10-2008, 21:02
kamocat's Avatar
kamocat kamocat is offline
Test Engineer
AKA: Marshal Horn
FRC #3213 (Thunder Tech)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 2008
Location: Tacoma
Posts: 894
kamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nice
Send a message via AIM to kamocat Send a message via MSN to kamocat
Re: 2009 base C/C++ code?

And we will be getting all this (or it will become available online) when we get the cRIO in November?
(In this case, I'm just referring to the Labview default code, because NI has no control whatsoever over the WPI C++ code)
__________________
-- Marshal Horn
Closed Thread


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
2009 Championships Macdaddy549 Rumor Mill 80 02-04-2008 16:22
Circle base vs. Rectangle base Pelicano234 Technical Discussion 13 15-01-2008 16:49
Looking for Base Code Eric W. Jones Programming 2 30-10-2006 18:54
2009 Trans-Am? Matt Attallah Chit-Chat 12 01-04-2006 01:08


All times are GMT -5. The time now is 13:33.

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