get_rgb_navigator#
- kikuchipy.draw.get_rgb_navigator(image: ndarray, dtype: str | dtype | type = 'uint16') → Signal2D[source]#
Create an RGB navigator signal which is suitable to pass to
plot()as thenavigatorparameter.- Parameters:
- image
RGB color image of shape
(n rows, n columns, 3).- dtype
Which data type to cast the signal data to, either
"uint16"(default) or"uint8". Must be a validnumpy.dtypeidentifier.
- Returns:
sSignal with an (n columns, n rows) signal shape and no navigation shape, of data type either
rgb8orrgb16.