Index/LUT Sandbox
The Index/LUT Sandbox is an interactive workspace within the Chloros Image Viewer that allows you to experiment with multispectral index calculations and color visualizations in real-time. This powerful tool helps you test different indices, refine value ranges, and create publication-ready visualizations without reprocessing your entire dataset.
What is the Index/LUT Sandbox?
Purpose
The Sandbox provides:
Real-time index calculation - Apply any vegetation index instantly
Interactive LUT adjustment - Fine-tune color gradients and ranges
Workflow optimization - Determine best settings before batch processing
Sandbox vs. Project Processing
Index/LUT Sandbox (Interactive):
Single image at a time
Instant feedback
Experimental and iterative
No permanent changes to files
Perfect for exploring and testing
Project Processing (Batch):
Entire dataset at once
Pre-configured settings
Permanent output files
Time-intensive
Best when settings are finalized
Best Workflow: Use the Sandbox to experiment and find optimal index and LUT settings, then apply those settings during Project Processing for your entire dataset.
Working with the Index/LUT Sandbox
Understanding Pre-Calculated Indices
In Chloros, indices can be applied during project processing. To determine which index and LUT settings you want to apply to exports it is easiest to use the image viewer sandbox.
The sandbox allows you to:
Apply new index and color gradients (LUTs) to visualize the data
Adjust visualization settings interactively
View already-calculated index images
Inspect pixel values at all zoom levels
Opening the Sandbox
The Index/LUT Sandbox is accessed in the Image Viewer sidebar tab:
Click an image in the file browser image grid, it opens in the Image Viewer
tab
Click the Image Viewer
tab to open the left pop-out sidebar if it's not already open
Selecting an Image to Apply an Index/LUT to
To work with an index in the Image Viewer sandbox:
Open an image from the main image grid by clicking on it
The Image Viewer
tab will then open
Click the Layer dropdown (top-right of viewer)
Select the layer from the dropdown:
RAW (Reflectance)
Applying an Index to an Image
Once the image is fullscreen and the Image Viewer tab sidebar is open:
Check the Index box at the top of the sidebar
Choose your camera's filter from the left dropdown
Choose the desired index formula from the right dropdown
Drag the filter channel color circles to the locations in the index formula below
Once the formula is valid the image will update and show the index values
Move your mouse cursor around to see the values at the cursor's location
Zoom in to see individual pixels and their associated values
Each index has a specific value range and meaning:
NDVI Example
For complete index formula documentation, see Multispectral Index Formulas.
Working with LUTs (Look-Up Tables)
What is a LUT?
A Look-Up Table (LUT) maps numerical index values to colors for visualization:
Input: Index pixel value (e.g., NDVI 0.65)
Output: RGB color (e.g., bright green)
Purpose: Make patterns easier to see and interpret
Grayscale vs. Color LUT:
Grayscale: Scientific and neutral, shows raw data
Color LUT: Intuitive and impactful, highlights patterns and differences
Visualization Power: Applying a color LUT to a grayscale index image makes it dramatically easier to identify patterns, anomalies, and areas of interest at a glance.
Applying a LUT to an Index Image
Once you have an index image showing
Click the
"+Add LUT" buttonSelect the color gradient
Adjust the clipping min/max end points
Adjust the Clipping Mode
Check the Index box in the Image Viewer
tab sidebar to apply the LUT
Choosing a Color Gradient
Selecting a gradient:
In the LUT panel, locate the colored gradient bar
Hover your mouse over it to view available gradient presets
Select desired gradient
The image updates immediately with new colors when the Index box is checked
Best Practice: For vegetation indices like NDVI, the Red-Yellow-Green gradient is most intuitive because it aligns with natural color associations (green=healthy, yellow=moderate, red=stressed).
Adjusting Color Classes
The Classes control determines how many discrete color steps appear in your gradient:
Class count options:
2-5 classes: Very broad categories, distinct zones
6-10 classes: Balanced, good for classification
11-20 classes: Smooth gradients, continuous appearance
20+ classes: Near-continuous, maximum smoothness
How to adjust:
In the LUT panel, locate the color swatch squares below the gradient bar
Adjust the number of classes by adding with the + button
Remove the number of classes by double clicking on a color swatch
The gradient updates in real-time on the image
Effect on visualization:
Fewer classes (3-5): Creates distinct zones, simplified classification, easier to distinguish categories
Medium classes (6-10): Balanced approach, good for most applications
More classes (15-20): Smooth transitions, detailed variation, photographic appearance
When to use:
Few classes (3-5): Presentation slides, classification maps, simple reports
Medium classes (6-10): General analysis, balanced detail, standard reports
Many classes (15-20): Scientific analysis, detailed inspection, publication-quality outputs
Fine-Tuning Value Ranges
The value range controls determine which index values map to which colors in your gradient:
Range controls in LUT panel:
Minimum value: Lower bound of the color scale
Maximum value: Upper bound of the color scale
Intermediate values: Automatically distributed between min and max (based on class count)
Adjusting Min/Max Values
To adjust value ranges:
In the LUT panel, locate the Min Value and Max Value input fields
Click the Min Value field
Type the desired minimum value (e.g.,
0.2)Press Enter or click outside the field
Repeat for Max Value field (e.g.,
0.9)The visualization updates immediately
Example NDVI range adjustments:
Full range:
-1.0to1.0(show all possible values)Vegetation-focused:
0.2to0.9(exclude bare soil and water)Healthy vegetation only:
0.5to0.9(highlight only vigorous plants)Stress detection:
0.2to0.5(emphasize problem areas)Custom range: Adjust based on your observed pixel values
Why adjust ranges?
Increase contrast in your area of interest
Exclude irrelevant values (e.g., water bodies, bare soil)
Standardize visualization across multiple images or dates
Emphasize subtle differences within a narrow value range
Clipping Out-of-Range Values
When pixel values fall outside your defined min/max range, you can control how they're displayed using clipping modes.
Available clipping mode options:
1. Minimum and Maximum
Pixels below minimum → display using the first color in gradient (e.g., red)
Pixels above maximum → display using the last color in gradient (e.g., green)
Use case: Emphasize extremes, show full data range with saturated colors at limits
Example: NDVI values below 0.2 all appear red, values above 0.9 all appear green
2. Transparent Background
Pixels outside the range become fully transparent
Only pixels within range show color gradient
Use case: GIS overlay, isolating specific value ranges, highlighting only areas of interest
Example: Show only NDVI 0.4-0.7 in color, everything else transparent
Transparency Limitation: Transparent pixels will appear as the background color in the viewer. When exported during processing, transparency is preserved in PNG format but not in JPG.
3. Index Background
Pixels outside range display in grayscale (showing raw index values)
Pixels within range show color gradient
Use case: Subtle highlighting, maintain context while emphasizing areas of interest
Example: Color-highlight stressed vegetation (NDVI 0.3-0.5) while showing healthy areas in gray
4. Original Background
Pixels outside range display the original multispectral image
Pixels within range show color gradient
Use case: Most intuitive - combines natural image context with analytical color overlay
Example: See the actual field/crop appearance with color-coded stress areas overlaid
Choosing the Right Clipping Mode
Minimum and Maximum
Full data display, scientific analysis
All pixels colored
Transparent Background
GIS overlays, isolating specific ranges
Color on range, blank beyond
Index Background
Subtle emphasis, maintaining data context
Color on range, gray beyond
Original Background
Reports, presentations, intuitive analysis
Color on range, photo beyond
Creating Custom LUT Colors
For full control over your visualization, you can create custom color gradients by editing individual color stops.
To create a custom gradient:
In the LUT panel, locate the gradient preview bar
Look for color swatch squares below the gradient
Click a color stop to select it
A color picker opens
Choose a new color using:
Color wheel: Visual color selection
RGB/HSV sliders: Precise color control
Hex code entry: Exact color specification (e.g.,
#FF0000for red)
Click off the color picker to apply the new color
The gradient updates immediately on the image
Adding or removing color stops:
Add a stop: Click the + icon to add a new swatch at the end
Remove a stop: Double click the color square to remove the swatch
Customization strategies:
Invert gradient: Flip color order to reverse the meaning (e.g., green=low, red=high)
Brand colors: Match your organization's color palette for reports
Colorblind-friendly: Use orange-blue or purple-yellow combinations
Print optimization: Choose colors that work in both color and grayscale printing
Multi-threshold: Use distinct colors at specific value thresholds for classification
Interactive Workflow
Real-Time Updates
All LUT adjustments in the sandbox update the image instantly and interactively:
Switch layer → Image changes immediately
Select gradient → Colors update instantly
Adjust value range → Contrast changes in real-time
Change classes → Gradient smoothness updates immediately
Modify clipping → Background display changes instantly
Edit colors → Custom gradient applies immediately
No "Apply" button needed - all changes are live and interactive!
Live Feedback: The instant visual feedback allows you to rapidly experiment with different settings until you find the optimal visualization for your analysis needs.
Iterative Refinement Workflow
Typical LUT optimization workflow:
Select index layer (e.g., RAW (Reflectance))
Apply index - Choose camera filter and index formula, drag colored circles to appropriate location in the index formula
Apply LUT gradient - Start with Red-Yellow-Green preset
Inspect pixel values - Move cursor around, note value ranges
Adjust min/max - Narrow to focus on vegetation (e.g., 0.2 to 0.9)
Choose clipping - Try "Original Background" for context
Refine colors - Customize gradient if needed for specific emphasis
Finalize settings - Document settings and copy to Project Settings for export processing
Pixel Value Inspection
Understanding actual pixel values is crucial for setting effective LUT ranges:
How to inspect values:
Pixel values show when the image has either the Index, or both the Index and LUT boxes checked.
Move your cursor over different areas of the image
Observe pixel values displayed in the legend as you hover
Zoom in to see individual pixels highlighted with a floating value
Take notes of value ranges for different features:
Healthy vegetation: e.g., NDVI 0.55-0.85
Stressed vegetation: e.g., NDVI 0.30-0.50
Bare soil: e.g., NDVI 0.05-0.25
Water (if present): e.g., NDVI -0.05 to 0.10
Using pixel values to set LUT ranges:
After inspecting pixel values, adjust your LUT min/max accordingly:
Example scenario:
Observation: Soil values = 0.05-0.25, Stressed = 0.25-0.50, Healthy = 0.50-0.85
Goal: Visualize only plant health (exclude soil)
LUT settings: Min =
0.25, Max =0.85Clipping: "Original Background" to see soil in natural color
Result: Color gradient only applies to vegetation, soil shows as original image
Custom Indices (Chloros+)
Creating Custom Index Formulas
To create a custom index:
Open Project Settings (before processing) or Image Viewer sandbox sidebar
Navigate to the Index formula dropdown
Look for "Custom" option (must be logged in with Chloros+ license)
Define your formula using band variables:
Band names:
NIR,Red,Green,Blue,RedEdge, etc.Operators:
+,-,*,/,^(exponent)Functions:
sqrt(),abs(), etc. (if supported)Parentheses:
()for order of operations
Name your index (e.g., "MyIndex" or "CustomNDVI")
Save the configuration
Example custom formulas:
Formula Validation: Ensure your formula uses bands available in your camera. For example, RedEdge is only available on cameras with a RedEdge filter.
Next Steps
Now that you understand the Index/LUT Sandbox:
Apply to processing: Use discovered settings in Project Settings
Batch process: Apply optimized indices to full datasets
Learn more: Read Multispectral Index Formulas
Related documentation:
Image Layers - Layer management and visualization
Opening an Image Full Screen - Image Viewer basics
Processing Images (GUI) - Full processing workflow
Last updated