Go to Post Big Mike (i'm not big you are all just short ;) ) - Mike Schroeder [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 26-03-2012, 17:04
ThisIsSparta's Avatar
ThisIsSparta ThisIsSparta is offline
Registered User
FRC #3494 (Quadrangles)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Bloomington, IN
Posts: 17
ThisIsSparta is an unknown quantity at this point
Eliminating Color in a Axis Camera

At the Midwest regional, we had difficulty with getting constant targets from the Rectangular Target processing VI using a green light setting. We got more consistent results after expanding the values on the "margin" controls, but consistency on the field doesn't seem reliable enough, even after calibrating.Is there a way to eliminate all color but green from the camera? I noticed that the targeting VI does all of it's logic in HSL, and the only way I could think to eliminate all colors but green is to convert to RGB and take out the planes of R/B. Thanks in advance for any help!
Reply With Quote
  #2   Spotlight this post!  
Unread 26-03-2012, 17:38
billbo911's Avatar
billbo911 billbo911 is offline
I prefer you give a perfect effort.
AKA: That's "Mr. Bill"
FRC #2073 (EagleForce)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Elk Grove, Ca.
Posts: 2,347
billbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond repute
Re: Eliminating Color in a Axis Camera

Quote:
Originally Posted by ThisIsSparta View Post
At the Midwest regional, we had difficulty with getting constant targets from the Rectangular Target processing VI using a green light setting. We got more consistent results after expanding the values on the "margin" controls, but consistency on the field doesn't seem reliable enough, even after calibrating.Is there a way to eliminate all color but green from the camera? I noticed that the targeting VI does all of it's logic in HSL, and the only way I could think to eliminate all colors but green is to convert to RGB and take out the planes of R/B. Thanks in advance for any help!
What does your camera initialization look like in Begin.vi?
Are you setting your exposure, brightness and white balance or letting them run automatically?
__________________
CalGames 2009 Autonomous Champion Award winner
Sacramento 2010 Creativity in Design winner, Sacramento 2010 Quarter finalist
2011 Sacramento Finalist, 2011 Madtown Engineering Inspiration Award.
2012 Sacramento Semi-Finals, 2012 Sacramento Innovation in Control Award, 2012 SVR Judges Award.
2012 CalGames Autonomous Challenge Award winner ($$$).
2014 2X Rockwell Automation: Innovation in Control Award (CVR and SAC). Curie Division Gracious Professionalism Award.
2014 Capital City Classic Winner AND Runner Up. Madtown Throwdown: Runner up.
2015 Innovation in Control Award, Sacramento.
2016 Chezy Champs Finalist, 2016 MTTD Finalist
Reply With Quote
  #3   Spotlight this post!  
Unread 26-03-2012, 19:40
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: Eliminating Color in a Axis Camera

Keeping only the green plane will be similar to looking at the world through green tinted glasses, and it will help to ignore purely red and blue objects. What does it do to a white object?

White minus red minus blue is ... Green. So, you can no longer tell white and grays from green. Additionally, what about yellow, or Cyan?

At least in some implementations, HSV is a less expensive conversion than HSL, so you may want to compare their timings.

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


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

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