Selects a region of interest for cube processing.


int mira_SetCubeROI(mrkernelpmr, int col, int row, int width, int height, unsigned char value);


Parameters:

  • pmr: A pointer to the runtime kernel returned by mira_Init.
  • col: The start column of the region of interest.
  • row: The start row of the region of interest.
  • width: The width of the region of interest.
  • height: The height of the region of interest.
  • value: The decision value to set the pixels outside the region of interest to.


Return value:

MIRA_OK (0) or an error code.


Description:

mira_SetCubeROI can be used to only process a region of interest from a cube during mira_ProcessCube. The geometry of the resulting decisions will still be the size of the complete cube, only with values outside of the region of interest set to value. It needs to be set before starting acquisition with mira_StartAcquisition.