Similarity analysis of images
Look at the Mona Lisa(s) above. They are very similar, aren't they? It's obvious, and you can say that they have high similarity. But given the pictures below, how to determine the similarity? Let's see!
Introduction & Background
Generally, there are two criteria to determine image similarity, the coefficient of determination (R2) and the mean absolute error (MAE). Here in this project, I use the coefficient of determination for similarity analysis.
The computation of R2 is:
$ R2 = 1 - {\sum_{i=1}^N (y_i - y_{pre})^2 / \sum_{i=1}^N (y_i - y_{avg})^2 } $ ( 1 )
or $ R2 = \frac{SS_{xy}^2}{SS_{xx} SS_{yy} } $ ( 2 )
with $ SS_{xy} = \frac{SS_{xy}^2}{SS_{xx} SS_{yy} } $
...to be continued