Multiscale Structural Similarity Index (MSSSIM)ΒΆ

Module for calculating the multiscale structural similarity index (MS-SSIM) between two images.

Examples

>>> import numpy as np
>>> from viqa import MSSSIM
>>> img_r = np.random.rand(256, 256)
>>> img_m = np.random.rand(256, 256)
>>> msssim = MSSSIM()
>>> msssim.score(img_r, img_m, data_range=1)

Classes

MSSSIM([data_range, normalize])

Calculate the multiscale structural similarity index (MS-SSIM) between two images.