Copy link to clipboard
Copied
Hey hi there,
Been looking online for a while, asked customer reps, nobody seems to know. How do you get (pick or see displayed somewhere) the color with the highest pixel count in any given photograph?
I'm not talking about the median, nor an average, but simply the color with the highest pixel count–not its chromatic components–but just the color.
The idea is to derivate some color palettes from photos, if it's a photo of the sky with a thousand different blues in it, I want to know which blue covers the most pixels in the image.
Thanks a bunchers,
–Javier
Copy link to clipboard
Copied
Well … depending on the noise the RGB-color with the highest pixel count might not be that relevant.
A scripting solution seems possible, iterating the Color Picker is slow, though; I think I have seen approaches using the Lab in RAW that would be faster.
Copy link to clipboard
Copied
Did you make any progress on this?
Copy link to clipboard
Copied
Have you changed the options in the eye dropper? I use 3x3 average but you can change it to whatever you want. I don't think I understand the end game - what do you want to result for?
Copy link to clipboard
Copied
if it's a photo of the sky with a thousand different blues in it, I want to know which blue covers the most pixels in the image.
By @javier ar32557083
There might be faster methods, but one way might be to export as a .gif and start reducing the colors.
I cropped this image heavily, then noticed they both had blue hats. On th second pass I selected that blue and trashed it.
The buttons on the bottom will let you make a selected color transparent, web-safe, locked so it won't be dropped, trashed, or added from the eyedropper.
The eyedropper is on the left.
Jane
Copy link to clipboard
Copied
Nice approach!
Like @melissapiccone I wonder about the »endgame« – would this have to be »batched« for many images quickly, what is the ultimate output need (swatches, txt-file/s, …), …?