Measured display-correction profile for one camera, gain label and geometry. More...
#include <lwir_render.h>
Data Fields | |
| char | serial [64] |
| char | gain [32] |
| char | sha256 [65] |
| unsigned | width |
| unsigned | height |
| unsigned | scale_ppm |
| int | offset_mk |
| uint16_t | range_min |
| uint16_t | range_max |
| unsigned | bad_count |
| uint32_t | bad_pixels [LWIR_MAX_BAD_PIXELS] |
Detailed Description
Measured display-correction profile for one camera, gain label and geometry.
Applied only when rendering; raw frames and measurements are unaffected. Corrected value = round(raw * scale_ppm / 1e6) + offset_mk * 64 / 1000 (truncated), in the same Kelvin*64 units as raw samples.
Definition at line 70 of file lwir_render.h.
Field Documentation
◆ bad_count
| unsigned lwir_profile::bad_count |
Used entries of bad_pixels.
Definition at line 80 of file lwir_render.h.
◆ bad_pixels
| uint32_t lwir_profile::bad_pixels[LWIR_MAX_BAD_PIXELS] |
Native raster indices (row * width + column), strictly ascending for binary search.
Definition at line 82 of file lwir_render.h.
◆ gain
| char lwir_profile::gain[32] |
Operator gain label the profile was measured with.
Definition at line 72 of file lwir_render.h.
◆ height
| unsigned lwir_profile::height |
Native height the bad-pixel indices refer to.
Definition at line 75 of file lwir_render.h.
◆ offset_mk
| int lwir_profile::offset_mk |
Offset in millikelvin; renderer accepts -50000..50000.
Definition at line 77 of file lwir_render.h.
◆ range_max
| uint16_t lwir_profile::range_max |
Highest supported raw code (< 65535); larger samples render invalid.
Definition at line 79 of file lwir_render.h.
◆ range_min
| uint16_t lwir_profile::range_min |
Lowest supported raw code (non-zero); smaller samples render invalid.
Definition at line 78 of file lwir_render.h.
◆ scale_ppm
| unsigned lwir_profile::scale_ppm |
Gain in parts per million; renderer accepts 500000..1500000.
Definition at line 76 of file lwir_render.h.
◆ serial
| char lwir_profile::serial[64] |
Device serial (or explicit replay identity) the profile applies to.
Definition at line 71 of file lwir_render.h.
◆ sha256
| char lwir_profile::sha256[65] |
Hex digest text identifying the profile source (63 chars + NUL).
Definition at line 73 of file lwir_render.h.
◆ width
| unsigned lwir_profile::width |
Native width the bad-pixel indices refer to.
Definition at line 74 of file lwir_render.h.
The documentation for this struct was generated from the following file:
- modules/lwir_cam/lwir_render.h