Q-Measure

Module for the Q-Measure [1] metric.

References

Examples

>>> import numpy as np
>>> from viqa import QMeasure
>>> img = np.random.rand(256, 256)
>>> qm = QMeasure()
>>> qm
QMeasure(score_val=None)
>>> score = qm.score(img, hist_bins=128, num_peaks=2)

Classes

QMeasure([data_range, normalize])

Class to calculate the Q-Measure [1] for an image.