optris::sdk::rec::RaviInfo
What a .ravi holds, read without converting it.
Public attributes
path
std::string path
The path as given.
bytes
uint64_t bytes = 0
File size in bytes.
verdict
RaviVerdict verdict = RaviVerdict::kUnreadable
Whether it converts.
detail
std::string detail
Why, when the verdict is not kConvertible. Empty otherwise.
header_version
int header_version = 0
PIX Connect's frame header version, 1001 to 1013. Zero when unreadable; the fields below are then left at their defaults.
serial
int32_t serial = 0
The camera's serial number.
model
std::string model
The camera model, as the SDK names a live camera ("PI 640i", "Xi 80"). Empty when the file does not say: a header before version 1009 carries no hardware revision, and the serial alone does not name a model.
width
uint32_t width = 0
Picture width in pixels, thermal channel.
height
uint32_t height = 0
Picture height in pixels, thermal channel.
declared_frames
uint32_t declared_frames = 0
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. InspectRaviFrameCounts() says which, and gives all three.
container_generation
int container_generation = 0
Container generation: 1 for the 2010-era layout, 2 after.
frame_rate
double frame_rate = 0.0
Frames per second.
curve
std::string curve
"planck" or "normtable": which radiometric model the file uses. Empty when it has none.
recorded_at_utc
std::string recorded_at_utc
When the recording started, as ISO 8601 UTC ("2012-09-19T13:34:33Z"). Empty when the file does not say.
A .ravi stores its start as the recording PC's local clock, with no time zone. This is that clock reading placed in a zone: the one given to InspectRaviInZone(), or else this computer's zone, which is right only when this computer is in the zone the recording PC was in. InspectRaviStartTime() gives the clock reading itself and says which zone was used.
emissivity
double emissivity = 1.0
Emissivity of the first frame, 0 to 1.
transmissivity
double transmissivity = 1.0
Transmissivity of the first frame, 0 to 1.
range_min_c
double range_min_c = 0.0
Low end of the camera's calibrated range, in the SDK's temperature unit (Celsius unless SetTemperatureUnit() chose Fahrenheit). The file itself stores Celsius.
range_max_c
double range_max_c = 0.0
High end of the camera's calibrated range, in the SDK's temperature unit.
has_visible_channel
bool has_visible_channel = false
Whether the file also carries a visible-light picture. An SDK recording is thermal only, so that picture is not converted.