Channel Swap operator
  • 09 Sep 2024
  • 1 Minute to read
  • Dark
    Light
  • PDF

Channel Swap operator

  • Dark
    Light
  • PDF

Article summary

Channel Operators/Channel Swap Filter

The Channel Swap operator is rarely used, but it is important to swap RGBA channels with other channels in some scenarios. 

Using the Channel Swap channel allows the swapping of channel content.
For each channel, the following options are available:

  • Red channel
  • Green channel
  • Blue channel
  • Alpha channel
  • White
  • Black
  • RGB Average - the mathematical average between the R, G, and B channels.
  • Luminance - the weighted luminance (=R*0.3 + G*0.59 + B*0.11). This represents the perceived luminance according to ITU BT.601)
  • Max of RGB - the maximum value of Red, Green, and Blue.
  • Min of RGB - the minimum value of Red, Green, and Blue.

  • Invert RGB - inverts the RGB colors. 
  • Invert Alpha - inverts the Alpha channel

Was this article helpful?