Skip to content

Update color mapping system in detection annotations - #465

Merged
SkalskiP merged 2 commits into
developfrom
feature/annotator-color-lookup-improvements
Oct 13, 2023
Merged

SkalskiP merged 2 commits into
developfrom
feature/annotator-color-lookup-improvements

Conversation

@SkalskiP

Copy link
Copy Markdown
Collaborator

Description

Adjusted the way colors are applied to detection annotations to support custom color schemes. Modified 'ColorMap' to 'ColorLookup' across multiple files, adding the ability to use a color lookup array. This refinement will enable users to assign custom colors to different detection annotations, offering greater flexibility in the visual representation of detection data. Updated related tests to reflect these changes.

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • This change requires a documentation update

Adjusted the way colors are applied to detection annotations to allow support for custom color schemes. Modified 'ColorMap' to 'ColorLookup' across multiple files, adding ability to use a color lookup array. This refinement will enable users to assign custom colors to different detection annotations, offering greater flexibility in visual representation of detection data. Updated related tests to reflect these changes.
@SkalskiP
SkalskiP requested a review from onuralpszr October 12, 2023 17:11
@SkalskiP SkalskiP self-assigned this Oct 12, 2023
@SkalskiP SkalskiP added enhancement New feature or request API:annotator Annotators labels Oct 12, 2023
@SkalskiP

Copy link
Copy Markdown
Collaborator Author

@onuralpszr, take a look. I added enum you proposed last week + custom color lookup tables to support what I need

@SkalskiP
SkalskiP merged commit 9ded70c into develop Oct 13, 2023
@SkalskiP
SkalskiP deleted the feature/annotator-color-lookup-improvements branch January 2, 2024 18:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

API:annotator Annotators enhancement New feature or request

Projects

Status: Current Release: Done

Development

Successfully merging this pull request may close these issues.

1 participant