delta.utils.tracking_scores

delta.utils.tracking_scores(labels, logits, boxes)[source]

Get overlap scores between input/target cells and tracking outputs.

Parameters:
labels2D array of np.uint16

Labelled image (untracked) of the current frame.

logits3D array of floats (previous_cells, sizex, sizey)

Tracking U-Net output.

boxeslist[CroppingBox]

Cropping boxes to re-place output prediction masks in the original coordinates to index the labels frame.

Returns:
scores2D array of floats (previous_cells, current_cells)

Overlap scores matrix between tracking predictions and current segmentation mask for each new-old cell.