beatmup.Metric¶
- class beatmup.Metric¶
Measures the difference between two bitmaps
- __init__(self: beatmup.Metric) None ¶
Methods
__init__
(self)get_result
(self)Returns the measurement result (after the task is executed
psnr
(bitmap1, bitmap2)Computes peak signal-to-noise ratio in dB for two given images
set_bitmaps
(*args, **kwargs)Overloaded function.
set_norm
(self, arg0)Specifies the norm to use in the measurement
Attributes
L1
L2