colormap-normalize!

Synopsis

(colormap-normalize! colormap)

Parameters

  • colormap

Description

This procedure applies a simple linear normalization to all 3 color channels of the RGB colormap.

Side Effects

The colormap is modfied.

Return Value

The modified colormapmap is returned.

Example

> (define e (colormap-difference c d))
e
> (colormap-normalize! e)
#<colormap orow:-1 ocol:-1 xres:-1 yres:-1 w:6720 h:4480>
>