slim icon indicating copy to clipboard operation
slim copied to clipboard

Implement Color-Coded Class Display

Open pedrokohler opened this issue 10 months ago • 3 comments

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 avatar Apr 02 '24 15:04 pedrokohler

@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.

pedrokohler avatar Apr 02 '24 15:04 pedrokohler

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 https://github.com/ImagingDataCommons/slim/issues/193#issuecomment-2100729206.
  2. On load, distinct colors are picked from some palette for each distinct value of type

fedorov avatar May 08 '24 14:05 fedorov

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

fedorov avatar Aug 01 '24 18:08 fedorov