Count color blocks in an image?

jeffr0

Regular Member
Joined
Sep 1, 2019
Messages
321
Reaction score
191
Hello, I am looking for a software or SaaS that can count the color blocks in an image. Here is an example of the pictures I want the program to analyze

Jack Skellington.jpg


Basically I want the program to scan this image and tell me how many blocks of each color there is.. for example it would spit something out like...

Black: 574
White: 346
Lt. Grey: 95
Dark Grey: 87

(Just an example)

Does any software such as this exist? Or something close that can make the process easier? Basically I want a program that will do the counting of blocks for me.

Thanks
 
You can create something like this with a simple python script.

I am sure you can find somebody in the marketplace that does scripting to create one that loops through an image to find squares of color.
 
Maybe this will help you.
Code:
http://mkweb.bcgsc.ca/colorsummarizer/
 
Back
Top