Go to Post [this is rapidly turning into a 'how many engineers does it take....' contest :^) ] - KenWittlief [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
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 10-02-2012, 07:47
inkspell4's Avatar
inkspell4 inkspell4 is offline
Registered User
FRC #3650 (Robo Raptors)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Maryland
Posts: 326
inkspell4 will become famous soon enough
Vision

I found this picture earlier and was wondering how to the camera to see the target this way
Attached Thumbnails
Click image for larger version

Name:	c13b591c498f742f6a8dd900c9a12940_m.jpg
Views:	67
Size:	12.1 KB
ID:	11830  
__________________
Chesapeake Regional : 2013, 2012, 2011
Rookie Year: 2011
2013 RoboRaptors Team 3650 Programming Team Captain
Team Website : http://www.roboraptorsfrcteam3650.com/index.html
_____________________________________________
  #2   Spotlight this post!  
Unread 10-02-2012, 08:49
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,752
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: Vision

Personally I would load it up in Vision Assistant, read the 2012 vision white paper and try out vision example code.

Specifically, if you launch the NI Vision Assistant, the first screen will have a button to Open images.

Once you have images loaded and they are shown in the big document area and you are Processing Images, click on the second button on the left center, the rainbow or color image processing button. Third on the list is a color threshold function. Choose it and adjust the sliders to mask (in red) the green parts of the image. You can do this in RGB, but it may be more precise to do it in HSL color space. If you are finding it difficult, draw a rectangle on the image that selects what the histograms display. This will give you a better idea what to set the sliders to. I attached a screenshot of this step to show the results you can achieve -- though due to the distance or light brightness, your colors are a bit dim, but workable.

From there, you have an idea of the color of your reflected target and you can use the white paper or examples to get you started.

Greg McKaskle
Attached Thumbnails
Click image for larger version

Name:	Screen Shot 2012-02-10 at 7.46.32 AM.png
Views:	55
Size:	122.1 KB
ID:	11831  
  #3   Spotlight this post!  
Unread 10-02-2012, 10:05
rsisk's Avatar
rsisk rsisk is offline
The GURU Channel
AKA: Richard Sisk
FRC #2493 (Robokong)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Riverside, CA
Posts: 2,749
rsisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond repute
Send a message via MSN to rsisk
Re: Vision

I also found the Rectangular Target Process example project in Labview helpful beyond belief!

Especially when you figure out you can click the target with your mouse and the Hue, Saturation, and Luminous values are set to perfect levels.

Kudos to the Labview folks at NI
__________________
Quote:
The views expressed are mine and should not be construed to represent the views of anyone else.
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


All times are GMT -5. The time now is 04:44.

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