SnapshotRender
class optris_sdk.snapshot.SnapshotRender
How the colorized picture in a snapshot was drawn.
Read-only, and read-side only: a PNG snapshot's primary image is the picture the operator was looking at, and this says what its colours meant, so a reader can put a legend beside it or reproduce it. The SDK fills it from the live view when it writes the file; nothing here is a caller's to set.
None from Snapshot.render means the file's primary
image is the 16-bit greyscale one -- a TIFF, or a PNG written with
no live view to take a picture from.
- Attribute
palette— palette name as the SDK spells it on disk --'Iron','Jet','GrayscaleBW'-- or'custom'when the application supplied its own colours. - Attribute
palette_name— display name of an application-supplied palette.Nonefor a built-in one. - Attribute
range_min_c— low end of the colour scale, in the SDK's temperature unit (Celsius unlessoptris_sdk.set_temperature_unitchose Fahrenheit; the file stores Celsius). The end of the palette, not the scene's minimum -- under the percentile mode the scene runs past it. - Attribute
range_max_c— high end of the colour scale, in the same unit. - Attribute
auto_scale_mode—'percentile','absolute','sigma1'or'sigma3'-- how that range was chosen.Nonewhen a fixed range was in force, because then the mode did not choose it. - Attribute
overlays— whether region and blob overlays are actually in the picture. A reader seeing a box can then tell it is an overlay rather than something in the scene. Not a copy ofoptris_sdk.camera.Camera.overlay_compositing: a camera with a GPU backend draws them unless compositing was switched off, and a camera on the CPU pipeline or the simulated camera only after it was switched on, so a fresh simulated camera recordsFalsealthough the setting readsTrue. - Attribute
thermal_data_reliable—Falsewhen the detector had not settled and the temperatures the colours were computed from were not yet trustworthy.