slim
slim copied to clipboard
Implement Color-Coded Class Display
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
- Classes should be displayed in different colors based on user-defined preferences or predefined color schemes.
- Users should have the option to customize colors at the class level using a color selector tool.
- Ensure that the color-coded class display remains consistent and accurately reflects the assigned colors.
- The color customization feature should be intuitive and easy to use, enhancing user control and satisfaction.
From #184
@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.
I agree, this should be handled in the context of #193.
How about the following (developing the ideas you suggested):
- 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 https://github.com/ImagingDataCommons/slim/issues/193#issuecomment-2100729206.
- On load, distinct colors are picked from some palette for each distinct value of type
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