Custom color palette

Hi All


I am working with spectrograms and I’s like to make a custom color palette. Is there an easy way to define my own color palette?

Sune

yes, with a 1d dynamic texture… there might even be a texturefx doing that.

If VL.OpenCV is up your alley there is the ApplyColorMap (with preset palettes):

ColorMap

Also in VL.OpenCV world, if you want to specify your custom palette you can use LUT:

Thanks, great solutions!

may be related, in case you want to stick to beta …

this one just replaces with the closest color it can find in the input buffer, but you can start from there if you need more control.