OptrisOptrisDocumentation

Documentation/OTC SDK/OTC SDK — C API referencev12.0

optris_sdk_region_sample_record

One region sample as optris_sdk_imager_read_region_sample_records() writes it: the four fields of optris_sdk_region_sample, with the same meaning, and no struct_size. Added in 12.0.32.

16 bytes, and the same layout the SDK keeps the samples in, so the library fills an array of these with one block copy. That is what a binding wants whose own sample type has these four fields in this order (.NET's RegionSample, the C++ optris::sdk::RegionSample): it hands the library its caller's buffer and nothing is converted or copied a second time. The array's element size is the version check, as for every array this header reads into.

Public attributes

value_c

float value_c

Temperature at this pixel, in the SDK's temperature unit; NaN when the pixel was not measurable. As optris_sdk_region_sample::value_c.

position

float position

Distance along a line, in region coordinates; NaN for any other shape. As optris_sdk_region_sample::position.

pixel_x

uint32_t pixel_x

column in the frame this came from

pixel_y

uint32_t pixel_y

row in the frame this came from