Skip to content

colormap-tool

Release Commit activity License Python

A Colormap Tool package to convert cmps between cv and mpl.

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