OptrisOptrisDocumentation

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

optris_sdk_ravi_import_options

How optris_sdk_ravi_import() converts. Call optris_sdk_ravi_import_options_init() first: it sets scan and per_frame_extras on, which a zeroed struct would not.

Public attributes

struct_size

uint32_t struct_size

Set by optris_sdk_ravi_import_options_init().

allow_short_wave

int32_t allow_short_wave

Non-zero converts a file whose verdict is OPTRIS_SDK_RAVI_SHORT_WAVE anyway, on the linear axis. A short-wave recording PIX Connect's split axis is built for converts without it.

clamp_to_range

int32_t clamp_to_range

Non-zero clamps temperatures to the camera's range plus 26 K either side, as PIX Connect does when it plays the file.

scan

int32_t scan

Non-zero (the default) reads the file once first for the scene's temperature range. Zero halves the work and records no range.

per_frame_extras

int32_t per_frame_extras

Non-zero (the default) keeps each frame's PIX Connect extras (the five-state shutter flag, NMEA position, process interface readings) in the frame records.

reserved0

uint32_t reserved0

Set to zero.

frame_limit

uint64_t frame_limit

Convert only the first N frames. Zero converts all of them.

norm_directory

const char * norm_directory

Where Norm-<n>.prn is, UTF-8, or NULL for the tables the SDK ships. Read during the call only.

progress

optris_sdk_ravi_progress_fn progress

Progress and cancel. May be NULL.

progress_user_data

void * progress_user_data

Handed to progress.