Channel Swap Node
The Channel Swap node enables you to quickly and easily modify channel data in your images in numerous ways. With Channel Swap, you can
- add channels
- delete channels
- swap channels from two separate input images
- insert black, white, or luminance values into a channel
The Channel Swap node accepts one or two inputs. You determine the output image by specifying the number of channels it will contain, from one to 10. The default is four channels (RGBA). Then you can:
- assign each output channel the values of any input channel, or
- fill an output channel with black, white, or the luminance value of any input.
Channel Swap Parameter Tab
The output channels appear in the right column; the input channels appear in the left column. The input channels column always displays Black (transparent) and White (opaque). When you connect an input node to the Channel Swap node, the channels that compose the input image appear below Black and White, followed by an entry for luminance ("A LUM" for the top input image; "B LUM" for the bottom input).
To reassign the output channels, click and drag a connector line from one of the output channels (on the right) to an input channel (on the left). You can connect an input channel to multiple output channels. However, each output channel can accept only one connector.
Channels Out
To change the number of output channels, simply key a value in the range of 1 to 10 into the Channels Out data entry field, or use the tuner to set the parameter to the desired value.
Luminance
This parameter enables you to specify the type of luminance to be calculated. You can select Film, NTSC Video, or PAL video from the Luminance popup menu.
Film
Chalice computes the film luminance value as follows:
- red channel * 0.333 +
- green channel * 0.333 +
- blue channel * 0.333
NTSC Video
Chalice computes the NTSC luminance value as follows:
- red channel * 0.299 +
- green channel * 0.587 +
- blue channel * 0.114
PAL Video
Chalice computes the PAL luminance value as follows:
- red channel * 0.2125 +
- green channel * 0.7154 +
- blue channel * 0.0721
Table of Contents | Index
Copyright 1996-1999 by Silicon Grail Corporation |