[Gllug] Faster maths?

salsaman salsaman at xs4all.nl
Fri Mar 9 01:47:25 UTC 2007


Adrian McMenamin wrote:

>On Fri, 2007-03-09 at 00:49 +0100, salsaman wrote:
>  
>
>>Adrian McMenamin wrote:
>>    
>>
>
>  
>
>>Perhaps you could do some optimising while the index is being created ? 
>>How do you generate the 8 bit palette ?
>>
>>    
>>
>
>Median cut
>
>  
>

I'm not familiar with that method, but it appears you will make cubes in 
RGB space which contain equal numbers of colour pixels.

When you are counting the pixels, then you know which box they belong in.

Or am I missing something ?

Gabriel.

-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list