LinearNorm#
- class scarlet2.plot.LinearNorm(minimum, maximum)[source]#
Bases:
NormClass for linear normalization
Linear norm, mapping the interval [minimum, maximum] to [0,1]
- Parameters:
minimum (
float) – Value that will be mapped to 0maximum (
float) – Value that will be mapped to 1
- clip(im, min_value, max_value)#
Clip image between min_value and max_value
- convert_to_uint8(im)#
Convert three-channel image to RGB image with uint8 dtype
- get_intensity(im)#
Compute total intensity image
- make_rgb_image(*im)#
Compute RGB image from three-channel image