For complex object segmentation, returns number of class pixels wihtin the obejct


int mira_GetObjDataClassSize(mrkernel* pmr, int entryInd, int classInd);


Input: 

  • Runtime environment pointer
  • entryInd - Object index (zero-based)
  • classInd - Class index (zero-based)


Output: Number of pixels of specific class within specific object or error


Description:

mira_GetObjDataClassSize returns the number of pixels of specific class within an object. This function is applicable when object segmentation mask is defined as "all foregound" i.e. when complex objects are segmented.