I have two images/heatmaps (2d matrix) of identical size. I need to statistically compare the similarity between the two. With 'similarity', I mean that high and low values of one image appear in similar areas in the other image.
Does anyone have an idea on how to do this? (I am using Python.)