peal.global_utils.ssim_map

peal.global_utils.ssim_map(img1, img2, window_size=11, C1=0.0001, C2=0.0009)[source]

Computes a simplified Structural Similarity Index Measure (SSIM) map between two images locally. img1, img2: (C, H, W) tensors.