gelsa.colorize#
Functions
|
|
|
|
|
Histogram 2D |
|
|
|
|
|
|
|
|
|
Low-memory spectro composite, processed in strips of rows. |
- gelsa.colorize.spectro_composite(spec_im, im_rgb, wcs_in, wcs_out, levels=(5, 98), power=1, sigma=1, strip_rows=512, dtype=<class 'numpy.float32'>)[source]#
Low-memory spectro composite, processed in strips of rows.
Equivalent to replacing the HSV value channel of the reprojected, smoothed im_rgb with the normalized spec_im: with hue and saturation fixed, rgb_new = rgb * v_new / max(rgb) (grey v_new where max(rgb) == 0).
dtype : np.float32 (values in [0,1]) or np.uint8 (values 0-255).