history
FLIR display tuning
id: LK-20260703-flir-display-tuning
date: 2026-07-03
sequence: 36
type: feat
compatibility: compatible
component: `labkit_CSC_app` | `1.3.6 -> 1.3.7`
component: `labkit_FLIRThermal_app` | `1.2.4 -> 1.2.5`
component: `labkit_FLIRThermal_app` | `1.2.5 -> 1.2.6`
component: `labkit_FLIRThermal_app` | `1.2.6 -> 1.2.7`
scope: FLIR display tuning
Context
The initial FLIR renderer used a fixed color transfer. Images with a narrow or skewed temperature distribution could therefore hide useful contrast even when the numeric range was correct. CSC voltage/current CSV output also needed clearer cycle organization for direct downstream use.
Decision and rationale
Separate the displayed color mapping from the temperature values. Apply gamma only while rendering the normalized image and expose it as a user control; keep the temperature matrix, point readings, ROI means, and exports numerically unchanged. Refine CSC CSV structure at its result writer rather than in the UI.
Changes
labkit_FLIRThermal_app1.2.4 -> 1.2.7labkit_CSC_app1.3.6 -> 1.3.7
- Refined CSC CV export.
- Added FLIR gamma color mapping and made gamma adjustable.
User and data impact
FLIR users could reveal contrast in hotter or cooler parts of an image without changing the underlying temperatures. The same gamma was used in displayed and exported color renderings. CSC users received a more directly usable voltage/current table.
Compatibility and migration
Existing FLIR inputs remained valid, and gamma affected rendered color only. Temperature matrices and measurement values did not require conversion.
Validation
The commits extended CSC export assertions, FLIR rendering and output tests, and the FLIR layout test for the gamma control. Exact historical commands were not recorded.
Evidence
- Main commits
ee5b8f79,65dbf5ae, andf076561e.
Known limitations and follow-up
Gamma changes visual contrast only. Quantitative interpretation must use the temperature values and scale, not colors sampled from the rendered image.