View Single Post
  #12   Spotlight this post!  
Unread 06-02-2009, 17:51
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,751
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: improvements to demo camera code anyone

Quote:
While white or black values show up every now then as above 250 on the hue scale under incandescent lighting and strange white balances, they usually come up in disconnected particles rather than homogeneous blobs. Even pointing my camera at the light (under all of the camera light settings) the most that is ever picked up gets removed with a particle filter.
It is very easy to make white objects have any tint you like. Think of concert or theater lighting. Normal white lighting is less tinted, but the same concept applies. So if you want to go forward using only hue, that is your choice. I'm telling you it is a bad idea. Also, be sure you think of hue as an angle, not a magnitude. 250 happens to point to red, but 120 points to blue, and 70 points to green. These are arbitrary numbers, and what is important is how closely they match expected values, not that they get over 250. Also note that there is not hue on the color wheel for black or white or gray. Those colors are described by the other two elements in the HSL trio. It is a three dimensional system, and a single dimension doesn't describe a point.

Greg McKaskle
Reply With Quote