Request for Changes-76: Single band color-mapping in Monteverdi
- Author: Julien Michel
- Submitted on 13.21.2016
- Proposed target release: 5.10 / 6.0
This RFC brings new shader effects in Monteverdi, for global and local color-mapping of a single image band.
Color-mapping enhances perception of details in single band mode. It is very usefull when viewing DSM images for instance.
Classes and files
Colormaps were imported from ITK (see this Insight Journal paper). Imported colormaps are Jet, Hot, Cool, Summer and Winter. Other colormaps from the paper could be easily imported, as well as colormaps from other sources, as long as mapping formula is provided. Note that mapping is not done through LUT interpolation but using an explicit formula.
StandardShader class has been updated to provide the new effects :
Mapping is applied after shader range normalization and gamma correction.
Local version using local contrast range are also implemented :
Visualisation/MonteverdiCore and Visualization/MonteverdiGui
Various classes have been modified so as to :
- Add the new effects to the shader toolbar,
- Filter available effects depending on visualization mode :
- RGB: No LUT shaders,
- Grayscale: No spectral angle