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

Annotation - apply label to frame pixels directly #509

Open
ShrimpCryptid opened this issue Jan 7, 2025 · 0 comments
Open

Annotation - apply label to frame pixels directly #509

ShrimpCryptid opened this issue Jan 7, 2025 · 0 comments
Labels
needs-detail Needs UX or implementation details. ux

Comments

@ShrimpCryptid
Copy link
Contributor

Use Case

Chantelle described that sometimes there are missing segmentations or parts of the image frame that she wants to label, especially for early segmentation validation. These labels would need to be applied directly to the frame and scientists would want to export them.

Acceptance Criteria

  • Clicking on an empty part of the frame in annotation editing mode places a label marker in that position, and adds it to a (separate?) table in the annotations tab.
  • Clicking on the marker again (or somewhere near it) will remove it.
  • Clicking on the marker with a different annotation label will add the additional label to it.
  • When exporting, the pixel data should be saved as a CSV with columns for time, X, Y, and labels.

Details

  • Update canvas click and/or hover events to report XY pixels in addition to selected track.
  • Update AnnotationData to support storing pixel coordinate pairs + times for labels.
  • Update rendering in annotation.ts to handle + render frame pixel-based labels.

Questions:

  • Should the pixel coordinates be a separate CSV, or saved into the same one?
@ShrimpCryptid ShrimpCryptid added ux needs-detail Needs UX or implementation details. labels Jan 7, 2025
@ShrimpCryptid ShrimpCryptid changed the title Annotations - apply label to frame pixels directly Annotation - apply label to frame pixels directly Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-detail Needs UX or implementation details. ux
Projects
None yet
Development

No branches or pull requests

1 participant