ClassesClassesClassesClasses | | | | Operators

apply_color_trans_lutapply_color_trans_lutApplyColorTransLutapply_color_trans_lutApplyColorTransLutApplyColorTransLut (Operator)

Name

apply_color_trans_lutapply_color_trans_lutApplyColorTransLutapply_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 apply_color_trans_lut(const Hobject Image1, const Hobject Image2, const Hobject Image3, Hobject* ImageResult1, Hobject* ImageResult2, Hobject* ImageResult3, const Hlong 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)

Herror apply_color_trans_lut(Hobject Image1, Hobject Image2, 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

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

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

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

void HOperatorSetX.ApplyColorTransLut(
[in] IHUntypedObjectX* Image1, [in] IHUntypedObjectX* Image2, [in] IHUntypedObjectX* Image3, [out] IHUntypedObjectX*ImageResult1, [out] IHUntypedObjectX*ImageResult2, [out] IHUntypedObjectX*ImageResult3, [in] VARIANT ColorTransLUTHandle)

IHImageX* HImageX.ApplyColorTransLut(
[in] IHImageX* Image2, [in] IHImageX* Image3, [out] IHImageX*ImageResult2, [out] IHImageX*ImageResult3, [in] IHColorTransLUTX* ColorTransLUTHandle)

IHImageX* HColorTransLUTX.ApplyColorTransLut(
[in] IHImageX* Image1, [in] IHImageX* Image2, [in] IHImageX* Image3, [out] IHImageX*ImageResult2, [out] IHImageX*ImageResult3)

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_lutApplyColorTransLutapply_color_trans_lutApplyColorTransLutApplyColorTransLut 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_rgbTransFromRgbtrans_from_rgbTransFromRgbTransFromRgb and trans_to_rgbtrans_to_rgbTransToRgbtrans_to_rgbTransToRgbTransToRgb

Parallelization

Parameters

Image1Image1Image1Image1Image1image1 (input_object)  singlechannelimage(-array) objectHImageHImageHImageHImageXHobject (byte)

Input image (channel 2).

Image2Image2Image2Image2Image2image2 (input_object)  singlechannelimage(-array) objectHImageHImageHImageHImageXHobject (byte)

Input image (channel 2).

Image3Image3Image3Image3Image3image3 (input_object)  singlechannelimage(-array) objectHImageHImageHImageHImageXHobject (byte)

Input image (channel 3).

ImageResult1ImageResult1ImageResult1ImageResult1ImageResult1imageResult1 (output_object)  singlechannelimage(-array) objectHImageHImageHImageHImageXHobject * (byte)

Color-transformed output image (channel 1).

ImageResult2ImageResult2ImageResult2ImageResult2ImageResult2imageResult2 (output_object)  singlechannelimage(-array) objectHImageHImageHImageHImageXHobject * (byte)

Color-transformed output image (channel 2).

ImageResult3ImageResult3ImageResult3ImageResult3ImageResult3imageResult3 (output_object)  singlechannelimage(-array) objectHImageHImageHImageHImageXHobject * (byte)

Color-transformed output image (channel 3).

ColorTransLUTHandleColorTransLUTHandleColorTransLUTHandleColorTransLUTHandleColorTransLUTHandlecolorTransLUTHandle (input_control)  color_trans_lut HColorTransLUT, HTupleHTupleHColorTransLUT, HTupleHColorTransLUTX, VARIANTHtuple (integer) (IntPtr) (Hlong) (Hlong) (Hlong) (Hlong)

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

Result

The operator apply_color_trans_lutapply_color_trans_lutApplyColorTransLutapply_color_trans_lutApplyColorTransLutApplyColorTransLut 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_lutCreateColorTransLutcreate_color_trans_lutCreateColorTransLutCreateColorTransLut

Possible Successors

clear_color_trans_lutclear_color_trans_lutClearColorTransLutclear_color_trans_lutClearColorTransLutClearColorTransLut

Alternatives

trans_from_rgbtrans_from_rgbTransFromRgbtrans_from_rgbTransFromRgbTransFromRgb, trans_to_rgbtrans_to_rgbTransToRgbtrans_to_rgbTransToRgbTransToRgb

See also

create_color_trans_lutcreate_color_trans_lutCreateColorTransLutcreate_color_trans_lutCreateColorTransLutCreateColorTransLut, clear_color_trans_lutclear_color_trans_lutClearColorTransLutclear_color_trans_lutClearColorTransLutClearColorTransLut

Module

Foundation


ClassesClassesClassesClasses | | | | Operators