OptrisOptrisDocumentation

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

optris_sdk_ravi_info

What a .ravi holds. Call optris_sdk_ravi_info_init() first.

The text fields are fixed arrays, always NUL-terminated and cut on a character boundary if a value is longer.

Public attributes

struct_size

uint32_t struct_size

Set by optris_sdk_ravi_info_init().

verdict

optris_sdk_ravi_verdict verdict

One of the OPTRIS_SDK_RAVI_* verdicts.

bytes

uint64_t bytes

File size in bytes.

header_version

int32_t header_version

PIX Connect's frame header version, 1001 to 1013; 0 when unreadable, and the fields below are then zero (in Fahrenheit the range reads NaN to NaN: a file that could not be read has none).

serial

int32_t serial

The camera's serial number.

width

uint32_t width

Picture width in pixels, thermal channel.

height

uint32_t height

Picture height in pixels, thermal channel.

declared_frames

uint32_t declared_frames

Frames the file's headers declare for the whole recording: the OpenDML total where the file has one, else the video stream's length, else the main AVI header's count. optris_sdk_ravi_inspect_frame_counts() says which.

container_generation

int32_t container_generation

1 for the 2010-era layout, 2 after.

frame_rate

double frame_rate

Frames per second.

emissivity

double emissivity

Emissivity of the first frame, 0 to 1.

transmissivity

double transmissivity

Transmissivity of the first frame, 0 to 1.

range_min_c

double range_min_c

Low end of the camera's calibrated range, in the SDK's temperature unit (Celsius unless optris_sdk_set_temperature_unit() chose Fahrenheit) in force when the file was inspected. The file itself states Celsius.

range_max_c

double range_max_c

High end of the camera's calibrated range, in the SDK's temperature unit.

has_visible_channel

int32_t has_visible_channel

Non-zero when the file also carries a visible-light picture, which an SDK recording does not hold.

reserved0

uint32_t reserved0

Set to zero.

curve

char curve[16]

"planck" or "normtable"; empty when the file has no model.

model

char model[64]

The camera model as the SDK names a live camera ("Xi 80"). Empty when the file does not say, which a header before version 1009 never does.

recorded_at_utc

char recorded_at_utc[32]

When the recording started, ISO 8601 UTC; empty when unknown.

detail

char detail[1024]

Why, when the verdict is not OPTRIS_SDK_RAVI_CONVERTIBLE.