pixel_metric#
from pssr.util import pixel_metric
- pssr.util.pixel_metric(mse: float, image_range: int = 255)#
Simple metric for calculating average pixel error.
- Parameters:
mse (float) – Mean squared error between predicted and ground truth images.
image_range (int) – Value range of image. Default is 255.