|
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
|