Signal to Noise Ratio (SNR)ΒΆ
Module for calculating the signal-to-noise ratio (SNR) for an image.
Examples
>>> import numpy as np
>>> from viqa import SNR
>>> img = np.random.rand(256, 256)
>>> snr = SNR(data_range=1, normalize=False)
>>> snr
SNR(score_val=None)
>>> score = snr.score(img,
... signal_center=(32, 32),
... radius=16)
Functions
|
Calculate the signal-to-noise ratio (SNR) for an image. |
Classes
|
Class to calculate the signal-to-noise ratio (SNR) for an image. |