Rescaling image intensity
Parameters:
Name |
# |
Type |
Description |
Debris cutoff (percentile) |
1 |
real |
This percentile of the image histogram sets the intensity value where the maximum of the Look Up Table (LUT) is scaled. Use -1 to override this with fixed value set below ant "Max value". |
Description:
This snippet shows how to rescale pixel values to a 0-100 range. A <100 percentile value is used to define the rescaled 100 value to mitigate effects of debris, hot pixels or cosmic particles in the camera.