Depening on speed of colour increase u can use linear, cubic etc. algorithms.
U also need to normalize them ( for instance fme_c0lor is between 0 and 1 float)
Here is an example:
The GS_Function attribute holds the output for a algorithm. I create a couple algorithms and put them in a userchoicelist. R,G,B are also parameter, so u can use the wheel to choose a startingcolor.
I use a RasterBandInterpretationCoercer to coerce it to UNIT8, scaling by by data values, use the AttributeCreator to create a palette and then The RasterPaletteAdder to add the palette to the raster, then the RasterPaletteResolver to turn it into an RGB raster
The palette i use for elevation is below. The zero value entry is a special case I use for NoData
We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. Learn more about our cookies.