Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

It's very easy to implement a custom function for LUT coloring.

See my answer in this topic: http://answers.opencv.org/question/50781/false-coloring-of-grayscale-image/

In short: you create a RGB lookup table of desired length (65536 in this case), then for each gray pixel P to get the false colored pixel C:

C[0]=LUT[P][0];
C[1]=LUT[P][1];
C[2]=LUT[P][2];