Skip to content

lib.img.adjust.ChannelMixer

Thomas Mann edited this page Jul 1, 2022 · 3 revisions

ChannelMixer

in lib.img.adjust


Adjusts the color of an incoming image.

Each row defined a color-channel of the output where as the incoming components are multiplied by a factor summed up . Finnally a value is added to each component.

You can do a lot of things with this operator, like

  • converting to grayscale
  • extracting an alpha channel to grayscale
  • invert an image
  • swap color channels.

Check the presets for examples. For a more natural color correction try [Adjust Color]


Outputs

Name Type
Output SharpDX.Direct3D11.Texture2D

Parameters

Name Type Relevancy
Texture2d SharpDX.Direct3D11.Texture2D Required
MultiplyR System.Numerics.Vector4
MultiplyG System.Numerics.Vector4
MultiplyB System.Numerics.Vector4
MultiplyA System.Numerics.Vector4
Add System.Numerics.Vector4
GenerateMipmaps System.Boolean

Please help use to improve this documentation. Feel free to improve the description.

⚠ Everything else is automatically generated and will be overwritten regularly.

Clone this wiki locally