Click here to Skip to main content
15,069,133 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Have been trying to find a solution to this problem and found this site. Am not a coder (not even close), but hopefully someone who is can help out or point me in the right direction?

The background: I'm working for a photographer who is interested in starting some paintings. He has a very clear color system that I'd like to organize before tackling this large scale painting work. Basically what I'd like to do is go through his archive (extensive) and come up with the top 100 or so colors that he uses.

My questions:

1. `Is there an existing program that would do this? Plug in jpgs or whatever and it would spit out a ranking of colors (html style, or something) in proportion to their use in the body of work?

2. If there is not an existing program that would do this, is anyone here interested in tackling this with me? He can't be the only artist interested.

Thanks for your eyes and expertise!

What I have tried:

I've googled extensively, but there's nothing that does what I'm looking for. The closest thing I've been able to find are these:

(full disclosure: there's another site where you upload an image and it spits out balloons of colors proportional to the presence of the color in the image, but now of course I can't find the link...)
Updated 22-May-18 7:59am
Peter_in_2780 22-May-18 21:46pm
If (and it's a huge if!) I was taking this on, I would look to first convert the images to HLS space then do some sort of clustering. The reason for working in HLS rather than, say, RGB or YUV is that "closeness" (euclidean distance) in that space correlates better with human perception of colour (and also is less sensitive to illumination changes in the images)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900