LUT Generator
Features:
The LUT generator GUI allows you to create and customize a color Lookup Table (LUT) using a graphical user interface.
The LUT generator GUI provides an intuitive interface for creating and customizing a color Lookup Table. By following the steps outlined in this manual, you can select colors, create gradients, save and load LUTs, and clear the color selections. Experiment with different color combinations and gradients to generate the desired LUT for your application.
Steps to Use the LUT Generator GUI:
Step 1: Launch the GUI
To launch the LUT generator GUI, press the brush icon or select View → Colormap Editor. The GUI window titled "IDCubePro: Colormap Editor" will appear.
Step 2: Select Colors
The GUI window displays 50 color strips as push buttons. Each button represents a color in the LUT. Follow these steps to select and customize colors:
1. Click on a color strip button, for example the first box on the left to open the Color Picker dialog. (Color Picker allows many ways to select the color).
In the color picker dialog, choose your desired color and click "OK."
2. The selected color will be applied to the corresponding color strip button.
3. Repeat steps 1-3 to customize other color strips as needed manually.
Step 3: Create Gradients
To create a gradient between two selected color strips:
1. Click on the first color strip button.
2. While holding the Shift key, click on the second color strip button.
3. The color strips between the selected strips will now form a gradient. The gradient is automatically calculated and displayed. In this example, the first button was assigned to yellow and the last button to blue colors.
4. You can generate more complex multicolor gradients by assigning colors to different buttons. In this example, the first button is yellow, the middle button is blue, and the last button is green.
Step 4: Save and Load LUT
You can save and load the created LUT using the provided buttons:
1. Click the "Save LUT" button to save the current LUT.
- Choose a file name and location to save the LUT as a .mat file. In this example we save the multigradient LUT as New_Lut.mat
2. Click the "Load LUT" button to load a previously saved LUT.
- Choose the saved .mat file to load the LUT into the GUI.
Step 5: Clear Colors
To clear all the colors and reset the LUT:
1. Click the "Clear Colors" button.
- All color strips will be set to their default color.
- The LUT will be reset to its initial state.
Step 6. Applying a new colormap
You can call the saved custom colormap by selecting Custom Colormap icon that at the start looks like the o .
That opens a dialogue where you can open a saved LUT. Select the file and click OPEN.
The new LUT will be automatically applied to the image.