
Patrick B. answered 03/05/21
Math and computer tutor/teacher
For each pixel....
I am GUESSING that the normalizing is:
(Red-150)/255
(Green-90)/255
(Blue-40)/255
assuming they are sufficient
You then plug them into your formula to get the temperature
If it is in the range increment the counter
You can get the percentage in that range by dividing the count by the # of pixels