This is an implementation of the algorithm for calculating the Structural SIMilarity (SSIM) index between two images.