8.23. Kanalmiksar

8.23.1. Oversyn

Figur 16.190. Eksempel på bruk av filteret

Eksempel på bruk av filteret

Originalbiletet

Eksempel på bruk av filteret

Verknad av filteret «Kanalmiksar»


This command combines values of the RGB channels. It works with images with or without an alpha channel.

8.23.2. Aktivering

You can find this command in the menu through ColorsComponentsChannel Mixer.

8.23.3. Innstillingar

Figur 16.191. Innstillingane for kommandoen «Kanalmiksar»

Innstillingane for kommandoen «Kanalmiksar»

Presets

«Presets» are a common feature for several Colors commands. You can find its description in Del 8.1.1, «Colors Common Features».

Red Channel, Green Channel, Blue Channel

Each of these has three sliders, which set the contribution of the red, green and blue input channels in the output channel. The sliders go from -2 to 2. They represent the multiplication factor of the input channel that will be attributed to the output channel.

Bevar lysverdi

The mixing can result in an image where some of the colors are too light. This option lessens the luminosity of the color channels while keeping a good visual ratio between them. So, you can change the relative weight of the colors without changing the overall luminosity.

Blending Options, Preview and Split view

These are common features described in Del 8.1.1, «Colors Common Features».

8.23.4. Korleis verkar kanalmiksaren?

Each of the output channels is based on the values you set for the three RGB input channels. By default each output channel is based for 100% on the corresponding input channel. This is the one set to 1.0, and the others are set to 0.0. You can change each of the sliders from -2 to +2.

The three RGB input sliders let you give a percentage to every channel. For every pixel in the image, the sum of the calculated values for every channel from these percentages will be given to the output channel. Here is an example:

Figur 16.192. Originalbiletet med kanalane

Originalbiletet med kanalane

RGB values of the pixels in red, green, blue, gray squares are displayed. The black rectangle is special, because black (0;0;0) is not affected by the command (0 multiplied by any percentage always gives 0). The result can't exceed 255 nor be negative.


Figur 16.193. Raud er sett som utkanal. Grøn kanal til +50.

Raud er sett som utkanal. Grøn kanal til +50.

Pikselverdiane i den raude ruta er 230; 10; 10. Prosentsatsane på glidebrytarane er sett til 100; 50; 0 for raud, grøn og blå. I utrekninga blir prosenttala dividerte med 100. Tala på glidebrytarane blir altså omforma til 1; 0,5 og 0. Verdien av raud i utkanalen blir summen av raudt i raudkanalen + raudt i grønkanalen + raudt i blåkanalen, alle multipliserte med respektive prosenttal. Altså: raud-ut = 230 × 1 + 10 × 0,5 + 20 × 0 = 235. Sidan raud er ut-kanal blir ikkje kanalane grøn og blå forandra.

I den grå ruta, som også inneheld raud, gir utrekninga eit tal høgare enn 255, og blir difor sett til 255. I dei tilfella der talet blir negativt, blir verdien sett til 0.


Figur 16.194. Raud er sett som utkanal. Grøn kanal til +50. Valet «Behald lysverdi» er aktivert.

Raud er sett som utkanal. Grøn kanal til +50. Valet «Behald lysverdi» er aktivert.

The values attributed to the Red Output channel are lower, preventing a too bright image.