RasterImage.ApplyCubeLut

ApplyCubeLut(string, Rectangle)

Applies a 3D cube lookup table (LUT) loaded from the specified file to the pixels within the specified bounds of the image.

public void ApplyCubeLut(string fileName, Rectangle bounds)
ParameterTypeDescription
fileNameStringThe path to the .cube file containing the lookup table.
boundsRectangleThe rectangular region of the image to which the lookup table is applied. Pixels outside this region are not modified.

Remarks

The LUT file is opened for reading and the resulting stream is disposed automatically after the operation has completed.

See Also


ApplyCubeLut(string)

Applies a 3D cube lookup table (LUT) loaded from the specified file to the entire image.

public void ApplyCubeLut(string fileName)
ParameterTypeDescription
fileNameStringThe path to the .cube file containing the lookup table.

Remarks

The lookup table is applied to !:Bounds, causing all pixels within the image bounds to be processed.

See Also


ApplyCubeLut(Stream)

Applies a 3D cube lookup table (LUT) loaded from the specified stream to the entire image.

public void ApplyCubeLut(Stream stream)
ParameterTypeDescription
streamStreamThe stream containing the .cube lookup table data.

Remarks

The lookup table is applied to !:Bounds, causing all pixels within the image bounds to be processed. The stream is used to load the lookup table and is not explicitly disposed by this method.

See Also


ApplyCubeLut(Stream, Rectangle)

Applies a 3D cube lookup table (LUT) loaded from the specified stream to the pixels within the specified bounds of the image.

public void ApplyCubeLut(Stream stream, Rectangle bounds)
ParameterTypeDescription
streamStreamThe stream containing the .cube lookup table data.
boundsRectangleThe rectangular region of the image to which the lookup table is applied. Pixels outside this region are not modified.

Remarks

The lookup table is parsed from the supplied stream by Load and then applied to the specified image region. The stream is not explicitly disposed by this method.

See Also


ApplyCubeLut(CubeLut, Rectangle)

Applies the specified 3D cube lookup table (LUT) to the pixels within the specified bounds of the image.

public virtual void ApplyCubeLut(CubeLut cubeLut, Rectangle bounds)
ParameterTypeDescription
cubeLutCubeLutThe CubeLut instance containing the color transformation to apply to the image pixels.
boundsRectangleThe rectangular region of the image to which the lookup table is applied. Pixels outside this region are not modified.

Remarks

Image pixels within the specified region are loaded in ARGB32 format and transformed in place using the LUT processor. The transformed pixels are then written back to the corresponding image region.

See Also


ApplyCubeLut(CubeLut)

Applies the specified 3D cube lookup table (LUT) to the entire image.

public void ApplyCubeLut(CubeLut cubeLut)
ParameterTypeDescription
cubeLutCubeLutThe CubeLut instance containing the color transformation to apply to the image pixels.

Remarks

The lookup table is applied to !:Bounds, causing all pixels within the image bounds to be processed.

See Also