OptrisOptrisDocumentation

Documentation/OTC SDK/Overviewv12.0

Specific Topics

The pages below each cover one part of the SDK in full. They assume you have been through Start Developing and can open a camera.

They are in the order the work usually happens in (find a camera, configure it, measure, look at the picture, keep what you measured), and that is the order the manual reads them in. Nothing here depends on the page before it, so reading one on its own is fine; the grouping is there so that looking for something has a direction.

Finding a camera and talking to it

Topic What it covers
Device Enumeration Finding cameras, naming them, watching for one being plugged in or claimed.
Device Communication What opening a camera involves, the USB path, the two timeouts, and what the SDK chose for you.
Ethernet Cameras Reaching one over the network, and changing the address it holds itself.
Dropped Connections Noticing a drop, what the SDK does, what survives, and testing it with no cable.
Operation Modes Listing the optic, temperature range and video format combinations a camera has, and switching between them.

Measuring

Topic What it covers
Measurement Fields The measuring areas a camera computes for you.
Regions What a region is, the kinds there are, the coordinate system, and blob detection.
Region Shapes Curves, the transform, boolean composition, hierarchy, persistence and rendering.
Apertures and Spots What a point region actually measures, and where a spot's emissivity applies.
Region Statistics The statistics, the threshold share, a line's profile, and which frame a reading belongs to.
Region Examples Worked examples of the above, end to end.
Alarms Threshold rules over measuring areas, and what the SDK does when one fires.

Seeing the picture

Topic What it covers
Colour Palettes The seventeen built-in palettes, setting one, and reading its colours back.
The Colour Range Which temperatures the colours span, and the auto-scale filter that chooses it for you.
Custom Palettes The shape a palette has to be, what is rejected, and saving one.
The Palette Library Where the SDK looks for palette files, and what happens when one is wrong.
The Canvas Where the frame sits in view space, and how to move it without disturbing a measurement.

The numbers, and which backend produced them

Topic What it covers
Frame Processing Settings The radiation parameters, the noise filters and the picture corrections, all of them caller-set.
GPU Acceleration When frames are computed on a graphics adapter, how to ask which backend a camera is on, and what happens when one is not available.

Keeping what was measured

Topic What it covers
Recording Starting and stopping a recording, the pre-roll, and the four ways a start is refused.
A Running Recording The events, the frame statistics, what it needs from the disk under it, segmenting a long run, and the flag policy.
Recording File Format The container, and the part of it a third party may rely on.
Preview Pictures Why a player that knows no thermography opens on a picture, and which frame it is of.
Snapshots and Interval Capture One frame to a file, or one every N seconds, from a camera, a replay or a still.
Recording Attachments Putting your own files inside the container, including after it has finished.
Playback Opening one as a frame source, the controls, and opening a still as a measurable source.
Converting PIX Connect recordings Turning a .ravi from PIX Connect into an SDK recording, from any language or the command line.
Snapshot File Formats What is inside the files the SDK writes, for a reader that is not this SDK.
Temperatures in Fahrenheit Switching the whole SDK to degrees Fahrenheit with one call, and what stays Celsius.

Camera hardware beyond the picture

Topic What it covers
Process Interface (PIF) The digital and analogue inputs and outputs.
Fail Safe The camera-side watchdog and what it guards.

Working without a camera

Topic What it covers
Virtual Imager (Simulated) Writing and testing against the SDK with no hardware attached.

Running it in the field

Topic What it covers
Calibration File Acquisition Where a camera's calibration comes from, pre-seeding a machine that has no network, and adding a mirror of your own.
Error Handling The exception hierarchy, and which calls throw what.
Logging The SDK's own log lines into your application's log, and the one callback that can arrive on your own thread.
Lifetimes Who owns a camera, a frame and the handles hanging off one, what closing waits for, and which of the five surfaces enforces it rather than documenting it.
Command Line Tools otc_info, otc_net and the rest of the tools that ship.