delta.pipeline.ROI¶
- class delta.pipeline.ROI(roi_nb: int, box: CroppingBox, crop_windows: bool = False)¶
ROI processor object
- __init__(roi_nb: int, box: CroppingBox, crop_windows: bool = False)¶
Initialize ROI
- Parameters
- roi_nbint
ROI index.
- boxdict
Crop box for ROI, formatted as in the utilities.py cropbox function input dict.
- crop_windowsbool, optional
Flag to crop and stitch back windows for segmentation and tracking. The default is False.
- Returns
- None.
Attributes
roi_nbThe ROI index number
boxROI crop box
img_stackInput images stack
seg_stackSegmentation images stack
lineageLineage object for ROI
label_stackLabelled images stack
crop_windowsFlag to crop overlapping windows for segmentation
verboseConsole outputs verbosity
Methods
__init__(roi_nb, box[, crop_windows])Initialize ROI
extract_features([frame, fluo_frames, features])Extract single cell features
Compile segmentation inputs for ROI
get_tracking_inputs([frame])Compile tracking inputs for ROI
process_segmentation_outputs(y[, frame, windows])Process outputs after they have been segmented.
process_tracking_outputs(y[, frame, boxes])Process output from tracking U-Net