Sets the minimum object size for segmentation.


int mira_SetMinObjSize(mrkernelpmr, int minSize);


Parameters:

  • pmr: A pointer to the runtime kernel returned by mira_Init.
  • minSize: The minimum object size in pixels.


Return value:

MIRA_OK (0) or an error code.


Description:

mira_SetMinObjSize changes the minimum object size for segmentations, objects smaller than this value will not be reported. It requires that a model has been loaded using mira_LoadModel.