Most Apparent Distortion (MAD)ΒΆ
Module for the most apparent distortion (MAD) metric.
Notes
The code is adapted from the original MATLAB code available under [1].
References
Examples
>>> import numpy as np
>>> from viqa import MAD
>>> img_r = np.random.rand(256, 256)
>>> img_m = np.random.rand(256, 256)
>>> mad = MAD()
>>> mad.score(img_r, img_m, data_range=1)
Functions
|
Calculate the most apparent distortion (MAD) between two images. |
|
Calculate the MAD for a 3D image. |
Classes
|
Class to calculate the most apparent distortion (MAD) between two images. |