Go to Post FIRST is about the relationships you build. ONE individual at a time. - xitaqua [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 15-12-2008, 17:51
pgaston pgaston is offline
Registered User
FRC #2103
 
Join Date: Dec 2008
Location: Gloucester, MA
Posts: 9
pgaston is an unknown quantity at this point
Camera - how to get out of B&W?

The camera works great - we can see it fine on the dashboard. (That dashboard is nice!)

I set up the green light thing from the contest two years ago about 10 feet in front of the camera. (I'm guessing there is a camera needed this year, duh...) It showed up as white. In fact, the entire image was B&W. If I point the camera straight up at the ceiling lights a few colors start to emerge.

I played with a few settings via Labview but I couldn't change anything.

Any thoughts? i.e., how do I configure the camera to see in color?
  #2   Spotlight this post!  
Unread 15-12-2008, 17:55
EricVanWyk EricVanWyk is offline
Registered User
no team
 
Join Date: Jan 2007
Rookie Year: 2000
Location: Boston
Posts: 1,597
EricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond repute
Send a message via AIM to EricVanWyk
Re: Camera - how to get out of B&W?

And I misread the question entirely, thanks Mr. Bill.

Last edited by EricVanWyk : 15-12-2008 at 18:06.
  #3   Spotlight this post!  
Unread 15-12-2008, 18:04
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: Camera - how to get out of B&W?

Quote:
Originally Posted by pgaston View Post
The camera works great - we can see it fine on the dashboard. (That dashboard is nice!)

I set up the green light thing from the contest two years ago about 10 feet in front of the camera. (I'm guessing there is a camera needed this year, duh...) It showed up as white. In fact, the entire image was B&W. If I point the camera straight up at the ceiling lights a few colors start to emerge.

I played with a few settings via Labview but I couldn't change anything.

Any thoughts? i.e., how do I configure the camera to see in color?
You may want to take a look at this tutorial.
__________________
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
  #4   Spotlight this post!  
Unread 18-12-2008, 16:06
pgaston pgaston is offline
Registered User
FRC #2103
 
Join Date: Dec 2008
Location: Gloucester, MA
Posts: 9
pgaston is an unknown quantity at this point
Repeat - Camera Configuration - how to get out of B&W?

(The reply that was deleted was almost perfect...)

I'm having trouble getting the camera to return RGB. Basically I find only two places to set RGB deep in the Labview bowels (not sure if U32 or U64 is right - I've tried them both).

Basically the camera will show color for about 5-10 seconds, and then it reverts to grayscale. It may last longer in color if it's pointed at least partially at a bright light. However, the ambient light in the room should be much more than adequate for normal operation.

Can you think of any other thoughts? Documentation on Labview/WPI camera vi's that will move me along?

Thanks!!!



While interesting, documentation on image processing is *not* the issue at this point. Need to get the camera working first...
  #5   Spotlight this post!  
Unread 18-12-2008, 16:22
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: Repeat - Camera Configuration - how to get out of B&W?

Quote:
Originally Posted by pgaston View Post
(The reply that was deleted was almost perfect...)

I'm having trouble getting the camera to return RGB. Basically I find only two places to set RGB deep in the Labview bowels (not sure if U32 or U64 is right - I've tried them both).

Basically the camera will show color for about 5-10 seconds, and then it reverts to grayscale. It may last longer in color if it's pointed at least partially at a bright light. However, the ambient light in the room should be much more than adequate for normal operation.

Can you think of any other thoughts? Documentation on Labview/WPI camera vi's that will move me along?

Thanks!!!



While interesting, documentation on image processing is *not* the issue at this point. Need to get the camera working first...
After reading this description of the problem, I agree that processing is not the issue. I also believe that configuration is not the problem either. My bottom line guess is that the camera is defective.
It may be a simple as a loose connection internally, or it could be a bad solder joint. Regardless, I believe it needs to be swapped out.
__________________
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
  #6   Spotlight this post!  
Unread 18-12-2008, 16:42
pgaston pgaston is offline
Registered User
FRC #2103
 
Join Date: Dec 2008
Location: Gloucester, MA
Posts: 9
pgaston is an unknown quantity at this point
Re: Camera - how to get out of B&W?

(Hey, in my case it's usually operator error...)

We'll swap cameras - thanks!
  #7   Spotlight this post!  
Unread 18-12-2008, 21:25
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: Camera - how to get out of B&W?

If you haven't done it already, you might try a hard reset of the camera. I think it involves pulling the plug, holding the black button on the back down, reinsert power and wait ~20 seconds until the lights on front blink red/green.

You may also want to check to see if the camera color setting is being modified. It defaults to 50. Smaller numbers move towards grayscale, higher numbers saturate the colors.

Greg McKaskle
  #8   Spotlight this post!  
Unread 18-12-2008, 22:12
David Doerr's Avatar
David Doerr David Doerr is offline
Registered User
FRC #4478 (Materia Oscura)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2002
Location: Milford, Michigan, USA
Posts: 75
David Doerr has much to be proud ofDavid Doerr has much to be proud ofDavid Doerr has much to be proud ofDavid Doerr has much to be proud ofDavid Doerr has much to be proud ofDavid Doerr has much to be proud ofDavid Doerr has much to be proud ofDavid Doerr has much to be proud of
Re: Camera - how to get out of B&W?

Quote:
Originally Posted by pgaston View Post
I set up the green light thing from the contest two years ago about 10 feet in front of the camera. (I'm guessing there is a camera needed this year, duh...) It showed up as white.
Try this: First learn how to access the camera settings and capture images using your PC browser -- see the camera user's manual for that information. Reset the camera so everything returns to factory default.

Then let the green light warm up for 5 or 10 minutes.

Position the camera about 6 or 7 inches in front of and pointing directly at the green light. ( 6.7 inches works best for our team ) Allow the exposure to stabilize while watching "Live View" on your PC browser. You should see a nice green color fill the entire image if done correctly. (and if the camera is not defective)

Then go to Setup, Video & Image, Advanced.

Set the exposure level adjustment drop-down to "Hold current" and click "Save". The exposure setting will then be fixed and won't change automatically as you move the camera around. The exposure setting will retain its value even if you power-cycle the camera.

You should also set the "white balance" to "Fixed Fluorescent 1", although that setting isn't as critical as the exposure setting.

With these settings, you should be able to capture nice green lamp images no matter how far away the lamp is positioned.

I plan to post more detail on this on Think Tank within the next week.

Dave D
  #9   Spotlight this post!  
Unread 19-12-2008, 08:48
rfolea's Avatar
rfolea rfolea is offline
Registered User
AKA: Rick Folea
no team (Forsyth Alliance)
Team Role: Mentor
 
Join Date: May 2005
Rookie Year: 2005
Location: US
Posts: 210
rfolea has a brilliant futurerfolea has a brilliant futurerfolea has a brilliant futurerfolea has a brilliant futurerfolea has a brilliant futurerfolea has a brilliant futurerfolea has a brilliant futurerfolea has a brilliant futurerfolea has a brilliant futurerfolea has a brilliant futurerfolea has a brilliant future
Re: Camera - how to get out of B&W?

Are you using the wall-wart power supply or is it plugged into the PD?

If the PD, are you ABSOLUTELY sure it is plugged into the correct power port?
  #10   Spotlight this post!  
Unread 19-12-2008, 09:00
elfinn elfinn is offline
Team 166 Mentor
AKA: Beth Finn
FRC #0166 (Chopshop Team 166)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2004
Location: Merrimack, NH
Posts: 14
elfinn is an unknown quantity at this point
Re: Camera - how to get out of B&W?

An incorrect exposure setting will make the green light appear white - did resetting exposure as DaveD suggested work?
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
WPILib & Camera colors & data Thanatos Programming 2 19-02-2007 01:15
AAH I'm spazzing out because I can't get our camera to do anything!!! JBotAlan Programming 23 14-02-2007 04:20
Problems when combine ADC code && camera code nirhaim1942 Programming 1 24-01-2007 06:58
How do I get distance between Camera and the target? sjung9442 Programming 5 27-01-2006 09:44
Where can I get 60 Amp Fuses -- that look like 30 Amp Fuses? Anton Abaya Chit-Chat 4 12-01-2002 14:09


All times are GMT -5. The time now is 10:40.

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