Compute structural similarity statistics