Color space conversions and colormap functionality
Provides: - RGB to HSV/LAB color space conversions - Colormap application to data arrays - Built-in colormaps: viridis, plasma, coolwarm - Efficient array-based colormap operations
Convert RGB to HSV color space
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(in) | :: | rgb(3) | |||
| real(kind=wp), | intent(out) | :: | hsv(3) | 
Convert RGB to LAB color space (simplified implementation)
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(in) | :: | rgb(3) | |||
| real(kind=wp), | intent(out) | :: | lab(3) | 
Apply colormap to array of values efficiently
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(in) | :: | values(:) | |||
| character(len=*), | intent(in) | :: | colormap | |||
| real(kind=wp), | intent(out) | :: | rgb_mapped(:,:) |