Feature Similarity (FSIM)ΒΆ

Module for calculating the feature similarity (FSIM) between two images.

Examples

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

Classes

FSIM([data_range, normalize])

Calculate the feature similarity (FSIM) between two images.