Visual Saliency-based Index (VSI)ΒΆ

Module for calculating the visual saliency index (VSI) between two images.

Examples

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

Classes

VSI([data_range, normalize])

Calculate the visual saliency index (VSI) between two images.