How do I analyze color uniformity of my image in Matlab?

10 views (last 30 days)
Utkarsh Desarda
Utkarsh Desarda on 26 Jan 2022
Answered: Mahesh Taparia on 8 Mar 2022
I have a image of a paper sensor made by dipping in a bunch of solutions. After drying, it produces almost uniform color all over the paper. But is there any way I can analyze this image to arrive at a perticular value of uniformity? My ultimate goal is to be able to produce uniform color and be able to reproduce same results that I can put in matlab and confirm the value. I have attached the image that i want to analyze.

Answers (1)

Mahesh Taparia
Mahesh Taparia on 8 Mar 2022
With respect to your image, there are possibly 2 different colors. You can analyze the pixel values using histogram of image, refer this documentation for more detail. You can convert the RGB image to gray scale or you can consider the channel which you want to analyze. The histogram will give peaks, those peaks can be the desired value.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by