Structural similarity index (SSIM)
The Structural Similarity Index (SSIM) is a perceptual metric used to measure the similarity between two images. It assesses image quality degradation caused by processing such as compression or transmission errors by comparing luminance, contrast, and structural information.