Finding the most common color in an image

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
User avatar
anthony
Posts: 8879
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: Finding the most common color in an image

Post by anthony » 2007-02-05T21:31:25-07:00

See IM Examples, Image Comparing, Sort into types,
http://www.imagemagick.org/Usage/compare/#type_general
specifically "Predominate Color of an image" and "FG/BG seperation"
for collected notes and ideas.

If you have some ideas and examples, we would love to hear them. This part of IM examples i very sort of actual examples (code and images) to explore the ideas and options provided.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/

Post Reply