Ask Your Question

sitzikbs's profile - activity

2019-04-25 01:05:56 -0600 received badge  Notable Question (source)
2018-04-04 08:42:37 -0600 received badge  Popular Question (source)
2015-03-18 12:38:47 -0600 asked a question How to create a custom colormap

Hi, im very new to openCV. I am converting a disparity map to an rgb image with a colormap overlay (the different colors represent distance). I use this function

applyColorMap(adjMap, RGBImage, cv::COLORMAP_JET);

wher adjMap is the grayscale image RGBImage is the final RGBimage i wanted and COLORMAP_JET is the colormap

I wish to change the colors in the colormap, so my quetion is - is it possible to create a customized colormap ? and if so - how?