Re: Counting Unique Colours
Re: Counting Unique Colours
- Subject: Re: Counting Unique Colours
- From: Steve Upton <email@hidden>
- Date: Wed, 17 Jan 2007 16:51:40 -0800
At 10:50 AM +0000 1/17/07, Martin Orpen wrote:
>On 17 Jan 2007, at 08:33, Peter Karp wrote:
>
>>>I need to work out the total number of unique colours in some TIFF
>>>images. Does anybody have any links to command line utils that can do
>>>this?
>>
>>http://rsb.info.nih.gov/ij/plugins/command-line.html
>
>Thanks Peter - and everybody else who replied both on- and off-list.
>
>I've now got plenty of applications and code to play with for the next couple of days :-)
>
>I'll report back later on how I get on.
no to throw a wrench into things here but the first thing I think of when I see this question is:
Do you want to calculate total COLORS or total unique device NUMBERs?
If you want unique colors then you need something that'll convert the file into a colorimetric space and then you need to calculate unique values. You will also have to determine what constitutes a unique color (say, they all have to be min 1 dE apart).
If you want unique device numbers then the above tools will do the job, but they don't necessarily represent unique colors - especially in CMYK or other print output spaces.
ColorThink Pro will calculate unique color values from an image, although it does some rounding to get a reasonable number of colors for graphing.
let's not forget that the eye sees nowhere near 16.7 million colors but that's the upper boundary for unique RGB color numbers... For unique colors that'll fit in Lab we're looking at a boundary of about 2.5 million.
Regards,
Steve
________________________________________________________________________
o Steve Upton CHROMiX www.chromix.com
o (hueman) 866.CHROMiX
________________________________________________________________________
--
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Colorsync-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden