2. LUTs¶
This section explains how to create and edit Look-Up Tables (LUTs).
2.1. Usage¶
A LUT is a color map for datasets, MultiROIs and meshes.
2.2. File location¶
To be recognized by the application, LUTs should be located in one of these folders:
- %LocalAppData%/ORS/Dragonfly(version)/pythonUserExtensions/LUTs (available for the current user)
- %ProgramData%/ORS/Dragonfly(version)/pythonAllUsersExtensions/LUTs (available for all users)
- Dragonfly installation folder/resource/lut (distributed with the application)
2.3. File creation¶
To create a LUT, start the application, select a dataset (import one if needed), select a LUT from the 2D settings panel or the 3D settings panel, click on the Edit button next to that LUT, edit the colors as needed, then press on the Save… button.
2.4. File edition¶
To modify a created LUT, select that LUT, click on the Edit button, do the modifications in the LUT editor, then press on the Save… button.
2.5. Demos¶
Source code example:
- Download the
file; - Put that file into a LUT extension folder;
- Start the application;
- Import a dataset;
- Select the LUT Demo 08 colors inverted in the 2D settings panel or the 3D settings panel.