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.
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.
1-vector.
byte.
uniform.
The transformed image, where colors are combined according to the R, G, and B scaling parameters.

PROBLEMS

SEE ALSO

See the color-xform2 demonstration map that uses this module See the ColorXform.shp LatFunction script that controls this module
[ Documentation Home ]
© The Numerical Algorithms Group Ltd, Oxford UK. 1996