ApplyLutCommandSetChannelLut Method (ChannelFlags, Byte) |
Sets a lookup table for a single channel.
Sets the look-up-table for a single channel.
Namespace:
Atalasoft.Imaging.ImageProcessing.Channels
Assembly:
Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax public void SetChannelLut(
ChannelFlags channel,
byte[] lut
)
Public Sub SetChannelLut (
channel As ChannelFlags,
lut As Byte()
)
Parameters
- channel
- Type: Atalasoft.Imaging.ImageProcessingChannelFlags
The channel you want to set. - lut
- Type: SystemByte
The look-up-table byte array.
Exceptions Exception | Condition |
---|
| Thrown if the LUT does not have 256 elements. |
| Thrown if an attempt is made to select more than 1 channel. |
Remarks The byte array must have 256 elements.
See Also