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

Implement Color-Coded Class Display #194

Open
pedrokohler opened this issue Apr 2, 2024 · 3 comments
Open

Implement Color-Coded Class Display #194

pedrokohler opened this issue Apr 2, 2024 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@pedrokohler
Copy link
Collaborator

pedrokohler commented Apr 2, 2024

Allow applying the same color all regions of the same semantics

could we have different classes be displayed in different colors (or give a per color selector so the user could change colors at the class level.

Implement Color-Coded Class Display

Description

Enhance the user experience by implementing the option for different classes to be displayed in different colors, or allowing users to select colors at the class level. This feature will provide visual differentiation and customization options, improving clarity and usability within the application.

Acceptance Criteria

  1. Classes should be displayed in different colors based on user-defined preferences or predefined color schemes.
  2. Users should have the option to customize colors at the class level using a color selector tool.
  3. Ensure that the color-coded class display remains consistent and accurately reflects the assigned colors.
  4. The color customization feature should be intuitive and easy to use, enhancing user control and satisfaction.

From #184

@pedrokohler pedrokohler added the enhancement New feature or request label Apr 2, 2024
@pedrokohler pedrokohler self-assigned this Apr 2, 2024
@pedrokohler
Copy link
Collaborator Author

@fedorov

I think this one relates to #193. I think after #193 is done we can add a cog icon similar to the current Annotation Group one and allow the user to change the color of the Annotation Type.

Let me know if that works.

@igoroctaviano igoroctaviano changed the title Allow applying the same color all regions of the same semantics Implement Color-Coded Class Display Apr 11, 2024
@fedorov
Copy link
Member

fedorov commented May 8, 2024

I agree, this should be handled in the context of #193.

How about the following (developing the ideas you suggested):

  1. A "Display settings" cog icon - same as we have per annotation group right now - is added to the distinct categories and types items in the new sections proposed in Implement SRs Class-Based Annotation Toggle #193 (comment).
  2. On load, distinct colors are picked from some palette for each distinct value of type

@fedorov
Copy link
Member

fedorov commented Aug 1, 2024

This notebook contains example of a representative TID1500 SR. We need to group by "Finding" and "Finding category". If not present, assign to a group that does not have it populated.

https://colab.research.google.com/drive/1RK6f01pqNPPuqpoq42E48BILfW-f1gHU

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants