Norm#

class scarlet2.plot.Norm[source]#

Bases: ABC

Base class to normalize the color values of RGB images

abstract __call__(im)[source]#

Compute normalized three-channel image

clip(im, min_value, max_value)[source]#

Clip image between min_value and max_value

convert_to_uint8(im)[source]#

Convert three-channel image to RGB image with uint8 dtype

get_intensity(im)[source]#

Compute total intensity image

make_rgb_image(*im)[source]#

Compute RGB image from three-channel image