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 ...
Recolors an image by applying a specified matplotlib colormap only to the colored pixels, while leaving grayscale pixels (including black, white, and shades of gray) untouched. Path to the source ...