pingwyn.image_fix_zero
- pingwyn.image_fix_zero(image, mask=None)
Set minimum value of an image to zero. All values will be shifted by the same amount such that the minimum value of the image becomes zero.
- Parameters:
image (pingwyn.Image) – Image to apply zero fix to.
mask (pingwyn.Image, optional) – Mask image, only non-zero pixel values in the mask will be used to find the minimum value, by default None
- Returns:
Zero fixed image.
- Return type: