Skip to content

Optimizations, closes #1070#1071

Draft
Teranis wants to merge 6 commits intomainfrom
optimizations
Draft

Optimizations, closes #1070#1071
Teranis wants to merge 6 commits intomainfrom
optimizations

Conversation

@Teranis
Copy link
Copy Markdown
Member

@Teranis Teranis commented Apr 7, 2026

  • updated RP to
    • Cache centroids
    • Estimate centroids based on bbox if exact is not important
    • Ability to update only the cutout of the entire lab (GUI can use bbox of "old" obj before change, current view or custom bbox
      • handles border touching correctly (ignore if specific IDs are provided and not part of it, otherwise label them with mask)
    • Apply assignment changes (Just ID swaps, for example, from tracker) and avoid recomputing RP altogether
    • Apply deletions (similar to assignments)
  • updated CellACDC trackers to
    • return assignments for real-time tracking
    • Handle tracking for only a subset of IDs inside the tracker itself
  • updated GUI:
    • Integration of new RP functionality
    • Left some comments to review together with @ElpadoCan
    • Updated swapping and assigning IDs to use RP (merge safe!)
    • Clear border uses its own implementation
    • Set Lost centroids now look for the closest pixel with the correct ID
    • Loading optimisation from acdc_df (minor, but nice for 3D)
    • Segm metadata, loading of data if applicable
  • Updated debugutils to have a line benchmark decorator for nice execution time stats
  • Drawing missing IDs now uses bulk, significant speedup and memory save for many new obj

Questions:
Is update_rp always called? Also, when modifying unvisited frames?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant