ClassesClasses | | Operators

apply_color_trans_lutT_apply_color_trans_lutApplyColorTransLutApplyColorTransLut (Operator)

Name

apply_color_trans_lutT_apply_color_trans_lutApplyColorTransLutApplyColorTransLut — Color space transformation using pre-generated look-up-table.

Signature

apply_color_trans_lut(Image1, Image2, Image3 : ImageResult1, ImageResult2, ImageResult3 : ColorTransLUTHandle : )

Herror T_apply_color_trans_lut(const Hobject Image1, const Hobject Image2, const Hobject Image3, Hobject* ImageResult1, Hobject* ImageResult2, Hobject* ImageResult3, const Htuple ColorTransLUTHandle)

void ApplyColorTransLut(const HObject& Image1, const HObject& Image2, const HObject& Image3, HObject* ImageResult1, HObject* ImageResult2, HObject* ImageResult3, const HTuple& ColorTransLUTHandle)

HImage HImage::ApplyColorTransLut(const HImage& Image2, const HImage& Image3, HImage* ImageResult2, HImage* ImageResult3, const HColorTransLUT& ColorTransLUTHandle) const

HImage HColorTransLUT::ApplyColorTransLut(const HImage& Image1, const HImage& Image2, const HImage& Image3, HImage* ImageResult2, HImage* ImageResult3) const

static void HOperatorSet.ApplyColorTransLut(HObject image1, HObject image2, HObject image3, out HObject imageResult1, out HObject imageResult2, out HObject imageResult3, HTuple colorTransLUTHandle)

HImage HImage.ApplyColorTransLut(HImage image2, HImage image3, out HImage imageResult2, out HImage imageResult3, HColorTransLUT colorTransLUTHandle)

HImage HColorTransLUT.ApplyColorTransLut(HImage image1, HImage image2, HImage image3, out HImage imageResult2, out HImage imageResult3)

Description

apply_color_trans_lutapply_color_trans_lutApplyColorTransLutApplyColorTransLutApplyColorTransLut transforms an 3-channel image from the RGB color space to further color spaces and vice versa using a pre-generated look-up-table. The three channels of the image are passed as three separate images on input and output.

For further information about the color space transformations see operators trans_from_rgbtrans_from_rgbTransFromRgbTransFromRgbTransFromRgb and trans_to_rgbtrans_to_rgbTransToRgbTransToRgbTransToRgb

Execution Information

Parameters

Image1Image1Image1Image1image1 (input_object)  singlechannelimage(-array) objectHImageHImageHobject (byte)

Input image (channel 2).

Image2Image2Image2Image2image2 (input_object)  singlechannelimage(-array) objectHImageHImageHobject (byte)

Input image (channel 2).

Image3Image3Image3Image3image3 (input_object)  singlechannelimage(-array) objectHImageHImageHobject (byte)

Input image (channel 3).

ImageResult1ImageResult1ImageResult1ImageResult1imageResult1 (output_object)  singlechannelimage(-array) objectHImageHImageHobject * (byte)

Color-transformed output image (channel 1).

ImageResult2ImageResult2ImageResult2ImageResult2imageResult2 (output_object)  singlechannelimage(-array) objectHImageHImageHobject * (byte)

Color-transformed output image (channel 2).

ImageResult3ImageResult3ImageResult3ImageResult3imageResult3 (output_object)  singlechannelimage(-array) objectHImageHImageHobject * (byte)

Color-transformed output image (channel 3).

ColorTransLUTHandleColorTransLUTHandleColorTransLUTHandleColorTransLUTHandlecolorTransLUTHandle (input_control)  color_trans_lut HColorTransLUT, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle of the look-up-table for the color space transformation.

Result

The operator apply_color_trans_lutapply_color_trans_lutApplyColorTransLutApplyColorTransLutApplyColorTransLut returns the value 2 (H_MSG_TRUE) if the given parameters are correct and the input images could be successfully transformed. Otherwise, an exception will be raised.

Possible Predecessors

create_color_trans_lutcreate_color_trans_lutCreateColorTransLutCreateColorTransLutCreateColorTransLut

Possible Successors

clear_color_trans_lutclear_color_trans_lutClearColorTransLutClearColorTransLutClearColorTransLut

Alternatives

trans_from_rgbtrans_from_rgbTransFromRgbTransFromRgbTransFromRgb, trans_to_rgbtrans_to_rgbTransToRgbTransToRgbTransToRgb

See also

create_color_trans_lutcreate_color_trans_lutCreateColorTransLutCreateColorTransLutCreateColorTransLut, clear_color_trans_lutclear_color_trans_lutClearColorTransLutClearColorTransLutClearColorTransLut

Module

Foundation


ClassesClasses | | Operators