livecellx.segment.utils.compute_match_label_map¶
- livecellx.segment.utils.compute_match_label_map(t1, t2, mask_dataset, iou_threshold=0.2)[source]¶
Compute the label map (mapping between objects) between two time points
- Parameters:
t1 (_type_) – _description_
t2 (_type_) – _description_
mask_dataset (_type_) – _description_
iou_threshold (float, optional) – _description_, by default 0.2
- Returns:
A tuple consisting of 3 elements: - t1 - t2 - a dictionary of the form:
{ t1_label_1: { t2_label_1: { "iou": iou_score }, t2_label_2: { "iou": iou_score }, ... }, t1_label_2: { t2_label_1: { "iou": iou_score }, }, ... }
- Return type: