image_clipping¶
- irispy.utils.image_clipping(image, cutoff=0.0015, gamma=1.0)[source]¶
Computes and returns the min and max values of the input (image), clipping brightest and darkest pixels.
- Parameters:
image (
numpy.ndarray
) – The input image.cutoff (float, optional) – The cutoff value for the histogram. Defaults to 1.5e-3
gamma (float, optional) – The gamma value for the histogram. Defaults to 1.0
References
Based on original IDL routine by P.Suetterlin (06 Jul 1993) Ported by V.Hansteen (15 Apr 2020)