|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||||
|
|||||
|
Pre-programmed RGB values
I'm using Kevin's streamlined camera code. camera.h defines the default min/max RGB values that are used by Track_Color(). The mean RGB value is 100R, 16G, 122B (or #64107A in base 16). THIS IS THAT COLOR.. This obviously isn't green. I'm sure these are in fact the correct colors to use (I haven't tested yet), but I want to make sure I am understanding all of the code correctly.
I don't consider myself an expert on cameras, but my only guess would be that the color being programmed into the camera is the negative of the actual color we are tracking. Come to think of it, I think I remember learning somewhere that purple and green are complements. In any event, somebody please explain ![]() |
|
#2
|
|||||
|
|||||
|
Re: Pre-programmed RGB values
Read the code a little more closely, with manual in hand to find out what the control registers mean, and you might find the spot where it puts the camera in YCrCb color mode. The values you see aren't RGB values. Does that help?
|
|
#3
|
|||||
|
|||||
|
Re: Pre-programmed RGB values
Ah in State 9
![]() I missed that before, thanks. |
|
#4
|
||||
|
||||
|
Re: Pre-programmed RGB values
Quote:
-Kevin |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Do you need the exposure values? | Code\\Pilot | Programming | 5 | 20-02-2005 20:08 |
| Paint values | capenga | Programming | 1 | 20-02-2005 13:25 |
| Acceleration Sensor Connected, but values are odd.... | Leav | Electrical | 7 | 04-02-2005 15:28 |
| trentonDrive.c: our joystick/wheel drive code | gnormhurst | Programming | 16 | 03-02-2005 14:40 |
| A testimony to my unique FIRST experience: | Ken Leung | General Forum | 22 | 14-04-2004 20:45 |