colormap-tool¶
A Colormap Tool package to convert cmps between cv and mpl.
- Github repository: https://github.com/MeridianInnovation/colormap-tool/
- Documentation https://MeridianInnovation.github.io/colormap-tool/
Overview¶
This package can let users use cv's built-in colormap in matplotlib, or use matplotlib's colormap in cv.
Features¶
- Convert colormaps between matplotlib and OpenCV formats
- Access colormaps from matplotlib and OpenCVs through a common interface
- Convert between numpy arrays, matplotlib Colormap objects, and OpenCV constants
- Register external colormaps with matplotlib
Installation¶
To install the project, run the following command:
python -m pip install colormap-tool