Get the expected data layout of the input image stream

int mira_GetInputDataLayout(mrkernel* pmr);


  • Runtime environment pointer

Output: Input data layout if >= 0 or an error code if < 0


MIRA_DATALAYOUT_BIP             1           /* spectrum-by-spectrum (dimensions: bands-width-height) */

MIRA_DATALAYOUT_BIL              2          /* frame-by-frame (dimensions: width-bands-height) */

MIRA_DATALAYOUT_BSQ            3          /* spatial frame by frame (dimensions: width-height-bands) */

This call returns the data layout expected in the input image stream based on the loaded model.