This package can let users use cv's built-in colormap in matplotlib, or use matplotlib's colormap in cv. To use an OpenCV colormap (e.g., jet) in a Matplotlib plot, use get_mpl_colormaps. This ...
All colormaps are currently created at import-time. Additionally, Colormap classes have a deferred initialization of their lookup table (I suspect to save memory/initialization cost). This design is ...