delta.utilities.getROIBoxes¶
- delta.utilities.getROIBoxes(chambersmask: ndarray) List[CroppingBox]¶
Extract the bounding boxes of the chambers in the binary mask produced by the chambers identification unet
- Parameters
- chambersmask2D array of uint8/uint16/floats
The mask of the chambers as returned by the chambers id unet.
- Returns
- chamberboxeslist of dictionaries
List of cropping box dictionaries (see cropbox()).