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

Minimal add tags to ROI functionality #497

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

will-moore
Copy link
Member

See https://forum.image.sc/t/tag-an-individual-roi-shape/105166/3

Initial investigation towards answering the question "how long would it take" to implement ROI Tagging in iviewer...

This is a BARE MINIMUM viable working prototype:

  • You need to save ROIs first, and you also need to have created Tags already and know the Tag IDs, as the most challenging part of a full solution is to load and select the Tags.
  • If you choose the Show ROI Tags column of the ROI table, it will load existing Tags on the ROIs - see screenshot. NB: only loads Tags for up to 500 ROIs just now. To support more we would probably need to batch request.
  • If you mouse-over you can see the ID of each Tag in the tooltip. Otherwise you'll have to copy Tag IDs from the Tag page of webclient.
  • If you type a valid Tag ID you want to add in the input field and hit Enter, it will be added to the ROI and displayed.
  • No functionality for removing Tags yet, but wouldn't be hard to add.
Screenshot 2024-11-21 at 12 40 49

This work took about 3 hours - maybe a bit more as it took me a while to remember how Aurelia framework works!

@imagesc-bot
Copy link

This pull request has been mentioned on Image.sc Forum. There might be relevant details there:

https://forum.image.sc/t/tag-an-individual-roi-shape/105166/5

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.

2 participants