Get the expected data type in the input image stream


int mira_GetInputDataType(mrkernel* pmr);


Input:

  • Runtime environment pointer


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


MIRA_DATATYPE_UNKNOWN  0

MIRA_DATATYPE_UINT16   1

MIRA_DATATYPE_FLOAT    2

MIRA_DATATYPE_UINT8    3


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