X-Istence
11-01-2006, 21:42
Hey,
I am wondering, in camera.h it has the following set:
#define R_MIN_DEFAULT 85 // Rmin for call to Track_Color()
#define R_MAX_DEFAULT 115 // Rmax for call to Track_Color()
#define G_MIN_DEFAULT 15 // Gmin for call to Track_Color()
#define G_MAX_DEFAULT 17 // Gmax for call to Track_Color()
#define B_MIN_DEFAULT 100 // Bmin for call to Track_Color()
#define B_MAX_DEFAULT 145 // Bmax for call to Track_Color()
Are the lower values what we are looking for? Or are we looking for stuff that is not green?
As far as I remember from RGB, 0,255,0 is looking for green, while 255,0,255 is looking for a mix of red and blue, which would be magenta.
I am using the slimlined, sleek version of Kevin Watson's code, just to simplify things for now.
I am wondering, in camera.h it has the following set:
#define R_MIN_DEFAULT 85 // Rmin for call to Track_Color()
#define R_MAX_DEFAULT 115 // Rmax for call to Track_Color()
#define G_MIN_DEFAULT 15 // Gmin for call to Track_Color()
#define G_MAX_DEFAULT 17 // Gmax for call to Track_Color()
#define B_MIN_DEFAULT 100 // Bmin for call to Track_Color()
#define B_MAX_DEFAULT 145 // Bmax for call to Track_Color()
Are the lower values what we are looking for? Or are we looking for stuff that is not green?
As far as I remember from RGB, 0,255,0 is looking for green, while 255,0,255 is looking for a mix of red and blue, which would be magenta.
I am using the slimlined, sleek version of Kevin Watson's code, just to simplify things for now.