Context: I have two 3D non-random matrices that have the same dimensions. These matrices represent satellite images with 1 band, so their values are strictly positive. They both present areas that have similar values, while areas without a "pattern" would have more varied values.
Problem: Even though they might have similar patters, these matrices have values that can be several orders of magnitude different. Their patterns might also sometimes differ a lot, but be nonetheless present.
Question: How could I compare such matrices ? I would like to express how "far" from each other they are, and use statistical tools to try and measure that.
Tools I use:
- Calculate the Rotated Empirical Orthogonal Functions (REOF) of both matrices (I keep the first 4 modes only), which gives me 4 spatial modes and 4 temporal modes for each.
- Normalize the spatial modes with
(mean-min)/(max-min)
. - Calculate the Frobenius norm of the difference of the normalized spatial modes:
Frobenius(spatial_modes_matrix_1 - spatial_modes_matrix_2)
- Plot the differences between each spatial mode (low difference means similarity)
- Plot a histogram of values of the Frobenius norm for each mode.