Better LUT editor, standard LUT should be provided as well
About you
CamiTK developer
Product
sdk/actions/image/imagelut
Overview
The LUT editor only allows to choose one color (changing the first color does nothing) and go from black to that color. There is no way to create a LUT that goes from blue to yellow to red for example, and that should be possible. We should also provide a list of "standard" LUTs, maybe taken from another opensource project (Brainvisa/Anatomist ?). The same editor could be used for the 3D rendering widget as well if we can also set transparency (RGBA) of the reference values Saving a user's custom LUTs would be useful too.
To avoid the UI being too complex,
- use one tab to select a palette and set window level and width (adapted to the range of the image type - e.g. 0-65535 for uint16 or -2B/+2B for int32, not 0-255 in all cases)
- use another tab to create a new palette
Relevant logs and/or screenshots
BrainVisa/Anatomist palette system: https://brainvisa.info/anatomist-5.0/user_doc/anatomist_tutorial.html#modification-of-color-palette
please do not remove anything below this line