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?