ColorMap
Maps a scalar field to a color field using a color map.
The color maps are generated using Matplotlib available color maps as:
|
|
Parameters
color_map : string. Defaults to “viridis”. The color map to use. Possible values are:
Perceptually uniform maps:
- viridis
- plasma
- inferno
- magma
- cividis
Sequential maps:
- gray
- purples
- blues
- greens
- oranges
- reds
Diverging maps:
- spectral
- coolwarm
- bwr
- seismic
Cyclic maps:
- twilight
- hsv
min_value : float. Defaults to 0.0. The minimum value of the input image.
max_value : float. Defaults to 1.0. The maximum value of the input image.
alpha : float. Defaults to 0.0. The alpha value of the output image in range [0, 1].
reverse: float. Defaults to 0.0. If 1.0, the color map is reversed.
Inputs
in_image : ImageView. {r8ui, r8i, r16f, r32f} image. Input image.
Outputs
out_image : ImageView rgba8ui image. The encoded color of the optical flow field.
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.