I have one colormap plot having red, blue and white colors in it. This is my reference figure. Besides, I have several output figures having the same scale and dimensions. I would like to make a comparison of the outputs with the reference figure and give scores to each output to measure the prediction capacities of them. I will ignore the white colored areas in the reference. For the blue and red colored areas, if the output has the same color at the same location with the reference, it will be a plus to the score. If it does not predict the color at the exact location there will be no penalty. I want total scores of each output to make comparison. Can anyone help me to apply this?