Calculate the percentage of a color in image

dabs

New Member
Hi there! I'm trying to find a working and accurate way to calculate how much of specific colors are in a picture. Be it percents or just numbers. At this point I can't use photoshop but maybe there's other ways avaiable that you know of? Thanks in advance. BTW, geotests dot net is not accurate enough
 

CarlaMckinney

New Member
Here are a few suggestions:

Color Thief: This is a JavaScript library that can extract color palettes from images. You can upload your image to the website, and it will provide you with a list of the most prominent colors in the image along with their RGB values.

ImageJ: This is a free, open-source software program that is widely used for scientific image analysis. It has a built-in function called "Color Histogram" that can help you calculate the frequency of specific colors in an image.

Python programming language: If you are comfortable with programming, you can use Python to calculate the amount of specific colors in an image. You can use libraries such as OpenCV or Pillow to read and manipulate images, and then use Python code to analyze the colors.
 
Top