Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Is the colormap conversion of openCV linear?

I have a gray scale image (i.e. 1 channel). I am using the opencv function applyColorMap() to improve the visualization. For example, if I have the code below

applyColorMap(imgGray, imgOut, COLORMAP_RAINBOW);

Somebody does know if the colormap conversion is linear?

image description

image description