itasc.tracking_ultrack.linking

Linking step: wire NodeDB into LinkDB.

Default mode uses Ultrack’s built-in linker. Shape mode uses the custom shape-scoring linker.

Functions

compute_edge_weight(source_node, ...)

Per-pair edge weight matching the active linker mode.

run_linking(working_dir, cfg, *[, overwrite])

Run the linking step, yielding (step, total, label) progress tuples.

itasc.tracking_ultrack.linking.run_linking(working_dir, cfg, *, overwrite=True)[source]

Run the linking step, yielding (step, total, label) progress tuples.

Return type:

Generator[tuple[int, int, str], None, None]

Parameters:
itasc.tracking_ultrack.linking.compute_edge_weight(source_node, target_node, distance, cfg)[source]

Per-pair edge weight matching the active linker mode.

Returns None when shape mode filters the pair out. Default mode never filters and always returns a float.

Return type:

float | None

Parameters: