.view_get_colors: Return the colors associated to the classified image
Description
Return the colors associated to the classified image
Usage
.view_get_colors(labels, legend, palette)
Value
Colors for legend of classified image.
Arguments
- labels
Labels of the classified cube.
- legend
Named vector that associates labels to colors.
- palette
Palette provided in the configuration file.