Ask Your Question
0

Indexed Color (palette color) in OpenCV??

asked Nov 5 '13

Evansf gravatar image

The applyColorMap() function only allows enum maps to standard color maps. First of all, I need to be able to create my own and load it. What I REALLY need is support for a palette with the ability to provide my own palette. This must be a part of the image so that I can save a .png file and maintain the palettized image (not converted to RGB during the save). It astounds me that there is no support yet for indexed color images. Am I missing something?

Preview: (hide)

1 answer

Sort by » oldest newest most voted
0

answered Nov 13 '13

ainawing gravatar image

In short: No, you didn't miss anything. As far as I can see, the feature you request isn't available and will only become available if implemented by contributors.

See here and in linked Feature request for more info (follow link, the request is linked there).

This is quite sad, because I, too, require a "greyscale" to 3 channel colorspace translation via a freely choosable colormap.

Preview: (hide)

Question Tools

Stats

Asked: Nov 5 '13

Seen: 3,398 times

Last updated: Nov 13 '13