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

Update color mapping system in detection annotations #465

Merged
merged 2 commits into from
Oct 13, 2023

Conversation

SkalskiP
Copy link
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 self-assigned this Oct 12, 2023
@SkalskiP SkalskiP added enhancement New feature or request api:annotator Annotators labels Oct 12, 2023
@SkalskiP
Copy link
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
6 checks passed
@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.

None yet

1 participant