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

Add colormap options to image transformations #27

Open
hannahker opened this issue Jul 11, 2023 · 2 comments
Open

Add colormap options to image transformations #27

hannahker opened this issue Jul 11, 2023 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@hannahker
Copy link
Collaborator

Similar to the implementation in #21, let's add at least one demonstration of a colormap transformation to the image display. This can be done using the hue-rotate() filter function: https://developer.mozilla.org/en-US/docs/Web/CSS/filter#functions

Note that we'll also have to apply sepia() so that it has an impact on the greyscale displayed image: https://stackoverflow.com/questions/23520159/apply-a-css-hue-rotate-filter-to-a-greyscale-image

Some calculation will also probably need to be done to figure out which rotation value corresponds to which color: https://stackoverflow.com/questions/29037023/how-to-calculate-required-hue-rotate-to-generate-specific-colour

@hannahker hannahker added enhancement New feature or request prototype To be included in the initial prototype labels Jul 11, 2023
@danton267
Copy link
Collaborator

addressed in #33

@danton267 danton267 linked a pull request Jul 13, 2023 that will close this issue
@hannahker hannahker removed the prototype To be included in the initial prototype label Jul 13, 2023
@hannahker
Copy link
Collaborator Author

Discussed further with LBL and decided that this isn't a priority at the moment.

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

Successfully merging a pull request may close this issue.

2 participants