View Single Post
  #7   Spotlight this post!  
Unread 03-02-2009, 20:28
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

First to your question about only using hue to threshold. The difference between inky black, navy blue, bright blue, pastel blue, and sky blue is not the hue, but the saturation and primarily the luminance. At the extremes, black and white are all hues, and in practice, they tent to be tinted by the lighting so they may all look blue for example, but saturation tells you how much blue.

As for doing a monster lookup table, it would be possible, but how fast does it need to be? We discussed this a bit, but decided to keep it simple. Put timing code in around the different elements and see what piece is most expensive.

Greg McKaskle
Reply With Quote