Hello! I work in crop research and have written a code to analyze an RGB image and determine if a pixel is senesced, crop, residue/soil, or shadow. However, this only works if the color is balanced in an image.
I do not know what the technical definition of balanced color is, but to me it relates to the RGB curves one can see in the curves mask. Over the last 5 years a colleague of mine has taken thousands of photos that I need to analyze with my system, unfortunately some have blue hues, some are overexposed, and some are just flat.
Is there any way to apply ratios or mathematical equations to the curves panel so that all images have a similar balance that will work with the code I wrote? Any help would be appreciated, and I am not wedded to doing this in photoshop if another platform offers a solution.
Thanks!
(below I included a few images to give you a feel for the variance)
I do not know what the technical definition of balanced color is, but to me it relates to the RGB curves one can see in the curves mask. Over the last 5 years a colleague of mine has taken thousands of photos that I need to analyze with my system, unfortunately some have blue hues, some are overexposed, and some are just flat.
Is there any way to apply ratios or mathematical equations to the curves panel so that all images have a similar balance that will work with the code I wrote? Any help would be appreciated, and I am not wedded to doing this in photoshop if another platform offers a solution.
Thanks!
(below I included a few images to give you a feel for the variance)