Returns if a currently openned device is snapshot camera


int mira_DeviceIsSnapshot(makernel* pma);


Input: 

  • Runtime environment pointer


Output: 1 if the currently openned device is a snapshot or 0 if not


This function returns the type of currently openned device. If the device is a snapshot camera (providing a full spectral cube with all bands for all pixels in a single call) or not. Devices that are not snapshots are "line-scans" i.e. cameras that provide single pixel line and all spectral bands. To form a cube, a line scan camera needs to acquire multiple spectral frames.

Therefore, while the width (pixel count) and band count of line-scan camera is defined by the sensor, its height is 1 (single frame at a time).