ColorXform

DESCRIPTION

A LatFunction-based module to modify the color channel contributions of an image, creating a gray-scale output image.

INPUTS

Port: Input
Type: Lattice
Constraints: 2-D
Constraints: 3-vector
The RGB image to be transformed.

WIDGETS

Port: R transform
Type: Dial
The contribution of the red input channel to the final image.

Port: G transform
Type: Dial
The contribution of the green input channel to the final image.

Port: B transform
Type: Dial
The contribution of the blue input channel to the final image.

OUTPUTS

Port: Output
Type: Lattice
Constraints: 2-D
Constraints: 1-vector
Constraints: byte
Constraints: uniform
The transformed image, where colors are combined according to the R, G, and B scaling parameters.

KNOWN PROBLEMS

SEE ALSO

LatFunction.

See the color-xform2 demonstration map that uses this module. You might also like to examine the ColorXform.shp script which is used by this module.


[Documentation Home]
© The Numerical Algorithms Group Ltd, Oxford UK. 2000