Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better shortcuts to navigate and edit tracking data. #276

Merged
merged 6 commits into from
Aug 3, 2023

Conversation

tinevez
Copy link
Member

@tinevez tinevez commented Aug 1, 2023

The TrackMate tool config panel.

When a TrackMate session is running, the Fiji toolbar displays a new tool specific to TrackMate.

This tool must be active for the shortcuts displayed below to work.

Double-clicking on the tool icon will bring the TrackMate tool config panel:

Selection

Key / Mouse Action
click inside a spot Select the spot.
shift + click Add / Remove from selection.
click and drag Draws a freehand ROI. All spots in the current frame inside the ROI are selected.
shift + click and drag The spots across all frames inside the ROI are selected.

Navigation

Key / Mouse Action
/ When a spot is selected, navigate within a track, forward and backward in time.
/ Within a track, move across siblings. That is: move to a spot that belongs to the same track within the same frame. For instance: across two daughter cells after a cell division.
/ Navigate across tracks.
f / g Change the time-point currently displayed. Move backward / forward in time, by an amount specified in the TrackMate tool config panel.

Editing.

All editing commands require the mouse to be placed inside a spot. No need to click.

Key / Mouse Action
a Add a new spot at the mouse location.
If the auto-linking mode is on, the new spot is automatically linked to the spot currently selected, and the new spot becomes selected.
d Delete the spot at the mouse location.
q / e Change the radius of the spot at the mouse location. Make it smaller / bigger.
shift + q / e Like above, but with greater amount of changes.
l Toggle a link between two spots in the selection. There must be exactly two spots selected, and they need to be not in the same frame. If a link already exists between the two selected spots, it is removed.
shift + a Start semi-automatic tracking for the spot in the selection. The parameters for semi-automatic tracking can be edited in the TrackMate tool config panel.
shift + l Toggle auto-linking mode on / off.

Moved all edit methods into a specialized class, called by the IJ
tool for each registered imp.
Make sure to deregister tools when an image is closed.
Sanitize also the config panel, which also use the actions specialized
class.
- Navigate to parent / child with up / down
- Navigate to siblings with left / right
- Navigate across track with page up / page down.
Just like TrackScheme.
Fix #270
@tinevez tinevez merged commit 54ea4a4 into master Aug 3, 2023
1 check passed
@tinevez tinevez deleted the navigate-track-shortcuts branch August 3, 2023 15:53
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