def unscale_input(img):
    """Reverses scaling of image values from [-1,1] to [0,255].
    Args:
        img (numpy.ndarray[float]): image to scale

    Returns:
        numpy.ndarray[float]: unscaled image
    """
    return ((img + 1) * 127.5)