I am aware of Matlab, matplotlib style colormap in OpenCV . The documentation explains its usage for C++. I was wondering if such an option exists for python using cv2 as w
For OpenCV 2.4.11, applyColorMap works in Python (even though the 2.4.11 docs still list only C++):
applyColorMap
import cv2 im = cv2.imread('test.jpg', cv2.IMREAD_GRAYSCALE) imC = cv2.applyColorMap(im, cv2.COLORMAP_JET)
See also this Stack Overflow answer.