8.26. Dekomponovat

8.26.1. Overview

Obrázek 16.173. Decomposition to images (RGB)

Decomposition to images (RGB)

Original image

Decomposition to images (RGB)

Command Decompose applied (RGB decomposition) with Decompose to layers unchecked.


Obrázek 16.174. Decomposition to layers (RGB)

Decomposition to layers (RGB)

Original image

Decomposition to layers (RGB)

Command Decompose applied (RGB decomposition) with Decompose to layers checked.


This command separates the channels (RGB, HSV, CMYK, etc.) of an image into separated images or layers.

[Poznámka] Poznámka

This command only works on RGB images. If the image is Grayscale or Indexed, the menu entry is disabled.

8.26.2. Activating the Command

  • You can access this command from the main menu through ColorsComponentsDecompose….

8.26.3. Options

Obrázek 16.175. Decompose command options

„Decompose“ command options

Extrahovat kanály

Následující volby jsou popsány tak, jako by byla volba Dekomponovat do vrstev aktivní.

A color space is a set of colors which can be displayed or recognized by an input or output device (such as a scanner, monitor, printer, etc.). The colors of a color space are specified as values in a color space system, which is a coordinate system in which the individual colors are described by coordinate values on various axes. Because of the structure of the human eye, there are three axes in color spaces which are intended for human observers. The practical application of that is that colors are specified with three components (with a few exceptions). There are about 30 to 40 color space systems in use. Some important examples are:
YUV

If the RGB option is chosen, a gray level image is created with three layers (Red, Green and Blue), and two channels (Gray and Alpha).

This function is interesting when using the Threshold tool. You can also perform operations like cutting, pasting or moving selections in a single RGB channel. You can use an extracted grayscale layer as a selection or mask by saving it in a channel (select the whole or a part of the layer, then SelectSave to a channel ).

RGBA

If the RGBA option is chosen, an image is created similar to the RGB Decomposing with an additional Alpha layer filled with the transparency values of the source image. Fully transparent pixels are black and fully opaque pixels are white.

Alfa

This option extracts the image transparency stored in the Alpha channel in the Channels Dialog in a separate image. The fully transparent pixels are Black the fully opaque pixels are white. The graytones are smooth transitions of the transparency in the source image.

YCbCr

This option decomposes image into three grayscale layers, one for Hue, one for Saturation and another for Value.

Although Hue is grayscale, it does represent hues. In the color wheel, white and black are starting and arrival points and are superimposed. They represent Red color at top of the wheel. Gray intermediate levels are corresponding to intermediate hues on the wheel: dark gray to orange, mid gray to green and light gray to magenta.

Sytost a Hodnota: Bílá odpovídá maximální sytosti (čisté barvě) a maximální hodnotě (velmi jasná barva). Černá odpovídá minimální sytosti (šedé odstíny) a minimální hodnotě (černá).

HSL

This option is similar to HSV. Instead of the Value, the third layer contains the image's L component.

CMYK

This option decomposes an image into four grayscale layers, one for Yellow, one for Magenta, one for Cyan, and one for Black.

This option can be useful to transfer an image into printing software with CMYK capabilities.

LAB

This option decomposes image into three grayscale layers, layer L for Luminance, layer A for colors between green and red, layer B for colors between blue and yellow.

Barevný model LAB je takzvaný jasovo-barevný model, neboť jeden kanál určuje jas, zatímco další dva barvu. Využívá ho například program Adobe Photoshop.

LCH

This option decomposes image into three grayscale layers, layer L for Luminance, layer C for Chroma, and layer H for Hue.

The LCH Decomposing is a color model of the Luminance-Color family.

YCbCr ITU R470, YCbCr ITU R709, YCbCr ITU R470 256, YCbCr ITU R709 256

In GIMP there are four YCbCr decompositions with different values. Each option decomposes an image in three grayscale layers, a layer for Luminance and the other two layers for blueness and redness.

The YCbCr color model, also called YUV, is now used for digital video (initially for PAL analog video). It's based on the idea that the human eye is most sensitive to luminosity, next to colors. The YCbCr Decomposing uses a transformation matrix and the different options are different values recommended by ITU (International Telecommunication Union) applied to the matrix.

Dekomponovat do vrstev

If this option is checked, a new grayscale image is created, with each layer representing one of the channels of the selected mode. If this option is unchecked, every channel is represented in its own image and clearly named in the name bar.

Foreground as registration color

Příklad 16.1. Crop marks

Source image

Cyan component

Black component

(Magenta and Yellow components omitted.)


This option is for specialists. It is related to CMYK printing. When checked, every pixel of the current foreground color will be black in each component of the decomposed images/layers. This allows you to make crop marks visible on all channels, providing a useful reference for alignment. A thin cross printed in registration black can also be used to check whether the printing plates are lined up.