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

Select colormaps in the GUI #574

Merged
merged 4 commits into from
Oct 4, 2023
Merged

Select colormaps in the GUI #574

merged 4 commits into from
Oct 4, 2023

Conversation

yoda-vid
Copy link
Collaborator

@yoda-vid yoda-vid commented Oct 4, 2023

Colormaps have been customized using ROI profiles, but there has been no way to directly change colormaps through the GUI. This PR adds a searchable selector in the image adjustment panel to select a colormap for each channel, dynamically updating the image with the selected colormap. Available colormaps are all those in Matplotlib plus the custom dark-to-color maps generated in MM.

Global colormaps have been set up each time an image is loaded to avoid loading them if graphical packages are not needed but ensuring that they are available for the loaded image. To avoid redundant loading, only load these colormaps when they have not yet been set up.
Colormaps have been customized using ROI profiles, but there has been no way to directly change colormaps through the GUI. Add a searchable selector in the image adjustment panel to select a colormap for each channel, dynamically updating the image with the selected colormap. Available colormaps are all those in Matplotlib plus the custom dark-to-color maps generated in MM.
@yoda-vid yoda-vid added the enhancement New feature or request label Oct 4, 2023
@yoda-vid yoda-vid added this to the v1.6.0 milestone Oct 4, 2023
@yoda-vid yoda-vid merged commit b4e73b8 into master Oct 4, 2023
25 checks passed
@yoda-vid yoda-vid deleted the select_colormaps branch October 4, 2023 20:46
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 this pull request may close these issues.

1 participant