Open quantumjot opened 1 year ago
The current _run_tracker function always calls segmentation_to_objects even if we are only changing some config parameters:
_run_tracker
segmentation_to_objects
https://github.com/lowe-lab-ucl/napari-btrack/blob/c294d1ca5c0c894599e464f9183464a2bcd8e4ff/napari_btrack/main.py#L144-L156
we could consider storing these detections, unless the chosen segmentation layer changes, in which case we can rerun the detection step.
The current
_run_tracker
function always callssegmentation_to_objects
even if we are only changing some config parameters:https://github.com/lowe-lab-ucl/napari-btrack/blob/c294d1ca5c0c894599e464f9183464a2bcd8e4ff/napari_btrack/main.py#L144-L156
we could consider storing these detections, unless the chosen segmentation layer changes, in which case we can rerun the detection step.