Extracts one or more pixel channels or color space components from a RGB color image. [more]

Categories: ColorSpaces, ChannelManagement

Keywords: color spaces, pixel channels, color components, channel extraction, color component extraction




The ChannelExtraction tool allows you to obtain individual RGB pixel channels or color space components as newly generated grayscale images. ChannelExtraction does not modify the image to which it is applied, and it can only be applied to color images.

ChannelExtraction supports the same color spaces as its cousin tool ChannelCombination:

Luminance/chrominance separations performed using the CIE XYZ, CIE L*a*b* and CIE L*c*h* color spaces are computed in the current RGB working space of the target image. RGB working spaces can be defined with the standard RGBWorkingSpace tool.

In the HSV and HSI color ordering systems (they are not true color spaces in the colorimetric sense), note that the S component represents different color saturation functions, which we often denote as Sv and Si, respectively, to differentiate them. For a formal description of the PixInsight implementation of HSV and HSI, see the documentation for the ChannelCombination tool.


Color Space

Select a color space to extract one or more channels or components. When you select a particular color space in this section, the names of the three target images (see the next section) are updated to reflect the corresponding channels or color components. By default, the RGB color space is selected.

Channels / Target Images

This section provides three target image slots where you can specify the identifiers of the image(s) that will be generated with the extracted channels or components, according to the selected color space. Newly generated target images will be grayscale monochrome images with the same width and height in pixels as the image to which the process is applied. You normally will leave these fields with their default <Auto> value (actually, <Auto> is a special symbol used to signify an empty identifier).

You can disable one or two target images by simply unchecking the associated check boxes. In this way you can extract three, two or one channels or components. When a target image is enabled (checked) and left with its default <Auto> identifier, ChannelExtraction automatically assigns an identifier consisting of the identifier of the image to which the process is being applied plus a suffix corresponding to the selected channel or color space component. Employed suffixes are as follows:

Note that the applied suffixes are exactly the same that the ChannelCombination tool expects when its source images are also left with their default <Auto> identifiers. In this way channels and components can be easily extracted and combined using both tools.

Sample Format

Select the default Same as source option to generate extracted channels and components as images with the same data type as the image to which the process is applied, or select one of the rest of options to cause ChannelExtraction to generate images with the specified data type:

Related Tools

ChannelCombination, RGBWorkingSpace