to_uint8_rgb#

de_ebsd.viz.figures.to_uint8_rgb(image)[source]#

Normalize a 2D array to a grayscale (H, W, 3) uint8 texture.