Go to Post if it was up to me, id just get one of those spinning BINGO things and do it that way - dodar [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
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 21-03-2012, 00:14
Brandon_L Brandon_L is offline
Back @ it again with the white vans
AKA: Brandon Liatys
FRC #2180 (Zero Gravity)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Newark, NJ
Posts: 1,207
Brandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond repute
Ring light not bright enough in camera feed

Hey all-
Last week we bought a red 60mm ring light from superbrightleds.com. We wired it up, and before we mounted it to the robot we looked through the center hole and found that the targets were lighting up a bright blood red. Yet when we mounted it around the camera (the lens is looking through the center of the ring, just as our eyes were) and we look at the camera feed, the targets are only barley tinted red.

Has anyone else had this problem with any other colors? Is there a fix? Im thinking about buying a second (Green? Blue?) light for lenape this weekend. Quick replies would be awesome. Thanks!

EDIT: 12v directly out of the PD board
__________________
FRC 2495 - Hamilton West Robotics [2007-2014] - whats a..."hive mind"?
FRC 3929 - Atomic Dragons [2012-2013]
FRC 2180 - Zero Gravity [2017-]

Just trying to collect all the possible team colors

Last edited by Brandon_L : 21-03-2012 at 00:17.
Reply With Quote
  #2   Spotlight this post!  
Unread 21-03-2012, 00:24
androb4's Avatar
androb4 androb4 is offline
..is trying to take this year off.
AKA: Andrew A.
no team
Team Role: Alumni
 
Join Date: Feb 2010
Rookie Year: 2003
Location: Houston, TX
Posts: 220
androb4 is a splendid one to beholdandrob4 is a splendid one to beholdandrob4 is a splendid one to beholdandrob4 is a splendid one to beholdandrob4 is a splendid one to beholdandrob4 is a splendid one to beholdandrob4 is a splendid one to behold
Re: Ring light not bright enough in camera feed

I haven't seen anybody use red lights. Possibly for that reason.most teams use green. We are using blue LED's. And they are perfect. But they are the LED strips from super brought LEDs. I would go with green our blue.
__________________
FRC 441 Mentor 2012-2015
FRC 441 Alumni 2009-2012
FTC 4673 Alumni 2011-2012
FRC 1484 Alumni 2006-2008

Reply With Quote
  #3   Spotlight this post!  
Unread 21-03-2012, 00:42
Bob Steele's Avatar
Bob Steele Bob Steele is offline
Professional Steamacrit Hunter
AKA: Bob Steele
FRC #1983 (Skunk Works Robotics)
Team Role: Coach
 
Join Date: Jan 2003
Rookie Year: 2002
Location: Seattle, Washington
Posts: 1,528
Bob Steele has a reputation beyond reputeBob Steele has a reputation beyond reputeBob Steele has a reputation beyond reputeBob Steele has a reputation beyond reputeBob Steele has a reputation beyond reputeBob Steele has a reputation beyond reputeBob Steele has a reputation beyond reputeBob Steele has a reputation beyond reputeBob Steele has a reputation beyond reputeBob Steele has a reputation beyond reputeBob Steele has a reputation beyond repute
Re: Ring light not bright enough in camera feed

Our team chose to use IR LEDs and put a filter over the camera lens to only allow IR light... it seems to work quite well...
You might try this... it isn't too difficult... you just need an IR source.
We use an IR source meant to be used with a security system...and the filter is a camera filter...taped over the camera lens...

it seems to work quite well... the reflective tape really pops out..
__________________
Raisbeck Aviation High School TEAM 1983 - Seattle, Washington
Las Vegas 07 WINNER w/ 1425/254...Seattle 08 WINNER w/ 2046/949.. Oregon 09 WINNER w/1318/2635..SEA 10 RCA ..Spokane 12 WINNER w/2122/4082 and RCA...Central Wa 13 WINNER w/1425/753..Seattle 13 WINNER w/948/492 & RCA ..Spokane 13 WINNER w/2471/4125.. Spokane 14 - DCA --Auburn 14 - WINNER w/1318/4960..District CMP 14 WINNER w/1318/2907, District CMA.. CMP 14 Newton Finalist w 971/341/3147 ... Auburn Mountainview 15 WINNER w/1318/3049 - Mt Vernon 15 WINNER w/1318/4654 - Philomath 15 WINNER w/955/847 -District CMP 15 WINNER w/955/2930 & District CMA -CMP Newton -Industrial Design Award

Reply With Quote
  #4   Spotlight this post!  
Unread 21-03-2012, 02:12
AlexD744 AlexD744 is offline
Registered User
FRC #0744 (744 Shark Attack)
Team Role: Alumni
 
Join Date: Jan 2009
Rookie Year: 2008
Location: Ft. Lauderdale, FL
Posts: 639
AlexD744 has a reputation beyond reputeAlexD744 has a reputation beyond reputeAlexD744 has a reputation beyond reputeAlexD744 has a reputation beyond reputeAlexD744 has a reputation beyond reputeAlexD744 has a reputation beyond reputeAlexD744 has a reputation beyond reputeAlexD744 has a reputation beyond reputeAlexD744 has a reputation beyond reputeAlexD744 has a reputation beyond reputeAlexD744 has a reputation beyond repute
Re: Ring light not bright enough in camera feed

If you play with the settings of the camera (especially lowering the exposure) you can probably get the image to stand out much more. However, as stated before, I believe that on superbrightleds.com it stated that the green rings had the greatest luminosity.
__________________
www.sharkattack744.com
Reply With Quote
  #5   Spotlight this post!  
Unread 21-03-2012, 02:36
grimmcoder's Avatar
grimmcoder grimmcoder is offline
grimmcoder
AKA: Justin Grimm
FRC #2046 (Bear Metal)
Team Role: Programmer
 
Join Date: May 2011
Rookie Year: 2007
Location: Maple Valley
Posts: 10
grimmcoder is an unknown quantity at this point
Re: Ring light not bright enough in camera feed

What we use is three Green Rings of 3 different sizes in a ring around our camera. But then we set adjust the exposure and WAY over expose our camera image. ALL we get is super green tape rectangles.

http://sn124w.snt124.mail.live.com/a...UvanBlZw_3d_3d
Reply With Quote
  #6   Spotlight this post!  
Unread 21-03-2012, 03:31
Brandon_L Brandon_L is offline
Back @ it again with the white vans
AKA: Brandon Liatys
FRC #2180 (Zero Gravity)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Newark, NJ
Posts: 1,207
Brandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond repute
Re: Ring light not bright enough in camera feed

How do you lower the camera exposure? Is it in the vision processing vi? camera settings in the browser?
Were using labview, I noticed (I have the classmate here) that our hue wheel is pointing at green. Does this effect the non processed image? If I set it to red would it appear brighter/better?

EDIT: Found it, but I'm not quite sure what it should be set to
__________________
FRC 2495 - Hamilton West Robotics [2007-2014] - whats a..."hive mind"?
FRC 3929 - Atomic Dragons [2012-2013]
FRC 2180 - Zero Gravity [2017-]

Just trying to collect all the possible team colors

Last edited by Brandon_L : 21-03-2012 at 03:39.
Reply With Quote
  #7   Spotlight this post!  
Unread 21-03-2012, 09:25
Unsung FIRST Hero
Al Skierkiewicz Al Skierkiewicz is offline
Broadcast Eng/Chief Robot Inspector
AKA: Big Al WFFA 2005
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1996
Location: Wheeling, IL
Posts: 10,795
Al Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond repute
Re: Ring light not bright enough in camera feed

While the human eye can see red OK (remember the old submarine movies switching to red light before surfacing) the camera is a little different. The camera has a greater sensitivity to green since the human eye has the greatest in that spectrum as well. There is a paper from Axis that describes how color cameras generally have twice as many green sensors as either blue or red.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
Reply With Quote
  #8   Spotlight this post!  
Unread 21-03-2012, 11:35
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,379
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: Ring light not bright enough in camera feed

At the Sacramento regional, there were several teams successfully using red lights.
Have you had an opportunity to set the camera's White Balance for the lighting environment you are in? If left to auto, the camera will actually adjust it's self to a point where the red light is almost white. In White Balance auto mode, the camera constantly tries to adjust it's self to present a color balanced image. If there is a large amount of one color, ie. your red targets, it will push the White Balance toward the blue end of the spectrum, thus reducing the color saturation on the red end.
__________________
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
  #9   Spotlight this post!  
Unread 21-03-2012, 11:46
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: Ring light not bright enough in camera feed

To parrot the advice given here. I'd first calibrate the exposure using the following procedure. Set the exposure to auto, point the camera at a bright light -- flashlight or overhead light. Wait a few seconds for the camera to change its exposure. Set the exposure to Hold.

Next, you should change the white balance from auto to one of the ones built in. Play with the indoor and outdoor ones to see which results in the most saturated red color.

I typically do this in vision assistant. Feel free to post photos and it may be easier to diagnose.

Greg McKaskle
Reply With Quote
  #10   Spotlight this post!  
Unread 21-03-2012, 14:44
Brandon_L Brandon_L is offline
Back @ it again with the white vans
AKA: Brandon Liatys
FRC #2180 (Zero Gravity)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Newark, NJ
Posts: 1,207
Brandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond repute
Re: Ring light not bright enough in camera feed

Quote:
Originally Posted by Greg McKaskle View Post
To parrot the advice given here. I'd first calibrate the exposure using the following procedure. Set the exposure to auto, point the camera at a bright light -- flashlight or overhead light. Wait a few seconds for the camera to change its exposure. Set the exposure to Hold.

Next, you should change the white balance from auto to one of the ones built in. Play with the indoor and outdoor ones to see which results in the most saturated red color.

I typically do this in vision assistant. Feel free to post photos and it may be easier to diagnose.

Greg McKaskle
My understanding was that exposure is set in the begin.vi, I don't know how you can just switch the settings while the camera is running. Also, you mentioned changing the white balance from auto to something like indoor. Again, when I look in the begin.vi, those settings (indoor, auto, ect) are plugged into the exposure.vi, I do not see anything about white balance.

Is there a simple way to set this up? Is that what vision assistant does, give me settings to use in the program for the camera?
__________________
FRC 2495 - Hamilton West Robotics [2007-2014] - whats a..."hive mind"?
FRC 3929 - Atomic Dragons [2012-2013]
FRC 2180 - Zero Gravity [2017-]

Just trying to collect all the possible team colors
Reply With Quote
  #11   Spotlight this post!  
Unread 21-03-2012, 14:47
Jared Russell's Avatar
Jared Russell Jared Russell is offline
Taking a year (mostly) off
FRC #0254 (The Cheesy Poofs), FRC #0341 (Miss Daisy)
Team Role: Engineer
 
Join Date: Nov 2002
Rookie Year: 2001
Location: San Francisco, CA
Posts: 3,078
Jared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond repute
Re: Ring light not bright enough in camera feed

Exposure time, exposure time, exposure time. Set it to 1/120s or shorter. This is the single biggest "trick" there is to make the retroreflective targets pop out from the background.
Reply With Quote
  #12   Spotlight this post!  
Unread 21-03-2012, 14:56
Brandon_L Brandon_L is offline
Back @ it again with the white vans
AKA: Brandon Liatys
FRC #2180 (Zero Gravity)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Newark, NJ
Posts: 1,207
Brandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond repute
Re: Ring light not bright enough in camera feed

Im going to put a screencap of the begin.vi up in a moment with all the camera settings.

Until then, If I used a green ring light, will it work...better? I have one ordered and on the way. Is the camera already set up, and if I pop the light on it will show up nice and bright?

Found the white balance and exposure settings, but still unsure how I could set those while the code is running
__________________
FRC 2495 - Hamilton West Robotics [2007-2014] - whats a..."hive mind"?
FRC 3929 - Atomic Dragons [2012-2013]
FRC 2180 - Zero Gravity [2017-]

Just trying to collect all the possible team colors
Reply With Quote
  #13   Spotlight this post!  
Unread 21-03-2012, 15:09
pfreivald's Avatar
pfreivald pfreivald is offline
Registered User
AKA: Patrick Freivald
FRC #1551 (The Grapes of Wrath)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2001
Location: Naples, NY
Posts: 2,296
pfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond repute
Re: Ring light not bright enough in camera feed

Quote:
Originally Posted by Brandon_L View Post
Until then, If I used a green ring light, will it work...better? I have one ordered and on the way. Is the camera already set up, and if I pop the light on it will show up nice and bright?
Our purple LED (which we wanted to use just for cool points) was too dim, and there was nothing we could do about it. We switched to green, and it was so bright that it would over-saturate.

We set the exposure using the method Greg McKaskle suggested -- we shined an eWatt bulb at it from six inches away, set the exposure to 'hold', and then worked from there -- the previously washed-out squares popped nice and green.
__________________
Patrick Freivald -- Mentor
Team 1551
"The Grapes of Wrath"
Bausch & Lomb, PTC Corporation, and Naples High School

I write books, too!
Reply With Quote
  #14   Spotlight this post!  
Unread 21-03-2012, 15:13
Brandon_L Brandon_L is offline
Back @ it again with the white vans
AKA: Brandon Liatys
FRC #2180 (Zero Gravity)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Newark, NJ
Posts: 1,207
Brandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond repute
Re: Ring light not bright enough in camera feed

Quote:
Originally Posted by pfreivald View Post
Our purple LED (which we wanted to use just for cool points) was too dim, and there was nothing we could do about it. We switched to green, and it was so bright that it would over-saturate.

We set the exposure using the method Greg McKaskle suggested -- we shined an eWatt bulb at it from six inches away, set the exposure to 'hold', and then worked from there -- the previously washed-out squares popped nice and green.
But did you run the code, THEN shine the light and set to hold? Or did you set it to hold then shine the light & run the code?

Im trying to understand how this is done, because I dont see a way you can change that setting while the code is running. Unless I'm completely missing something here. Is this done in labview? The camera settings in the browser?

EDIT: Further research found me this: http://thinktank.wpi.edu/resources/1...mp_Imaging.pdf
I should be good from here, thanks everyone. I wont be able to try it until we unbag on friday. I'll try this with the red first, and if it doesn't work and the green one is here in time, I'll switch over.
__________________
FRC 2495 - Hamilton West Robotics [2007-2014] - whats a..."hive mind"?
FRC 3929 - Atomic Dragons [2012-2013]
FRC 2180 - Zero Gravity [2017-]

Just trying to collect all the possible team colors

Last edited by Brandon_L : 21-03-2012 at 15:24.
Reply With Quote
  #15   Spotlight this post!  
Unread 21-03-2012, 15:28
RufflesRidge RufflesRidge is offline
Registered User
no team
 
Join Date: Jan 2012
Location: USA
Posts: 989
RufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant future
Re: Ring light not bright enough in camera feed

Quote:
Originally Posted by Brandon_L View Post
The camera settings in the browser?
Bingo! Change the setting for the Exposure to "Hold Current" in Begin.VI to avoid messing up your settings after you have performed the procedure Patrick described (which you could do programatically from LabVIEW, but is much easier with the browser).
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 11:11.

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