Process a single spectral cube


int mira_ProcessCube(mrkernel* pmr, void* pData);


Input: 

  • Runtime environment pointer
  • Pointer to external buffer with raw spectral frame data


Output: Result code (MIRA_OK or error)


Description:

mira_ProcessCube passes data of a entire spectral cube. Acquisition process need to be running (started using mira_StartAcquisition). 

The expected geometry and data type are defined by the loaded solution. This information can be queried by the mira_GetInputHeight, mira_GetInputWidth,  mira_GetInputBands, mira_GetInputDataLayout and mira_GetInputDataType.


After a cube is processed,  per-pixel decisions may be read out using mira_GetFrameDecisions or object information extracted using mira_GetObj* functions.