The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....



LogTransform


Unit: SDL_sdlcolors
Class: TColorArray
Declaration: procedure LogTransform (Gamma: double);

The method LogTransform transforms the current color array such that the color distribution follows a logarithmic function. The parameter Gamma controls the strength of this transformation. A value of zero does not transform the data at all, a value of 1.0 results in a logarithmic transform. The following figure shows a rainbow color scale at different Gamma values.



Last Update: 2023-Feb-06