apply_color_trans_lutT_apply_color_trans_lutApplyColorTransLutApplyColorTransLutapply_color_trans_lut (算子名称)
名称
apply_color_trans_lutT_apply_color_trans_lutApplyColorTransLutApplyColorTransLutapply_color_trans_lut — Color space transformation using pre-generated look-up-table.
参数签名
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)
描述
apply_color_trans_lutapply_color_trans_lutApplyColorTransLutApplyColorTransLutApplyColorTransLutapply_color_trans_lut 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_rgbTransFromRgbTransFromRgbTransFromRgbtrans_from_rgb and trans_to_rgbtrans_to_rgbTransToRgbTransToRgbTransToRgbtrans_to_rgb
运行信息
- 多线程类型:可重入(与非独占操作符并行运行)。
- 多线程作用域:全局(可以从任何线程调用)。
- 在元组级别自动并行化。
- Automatically parallelized on domain level.
参数表
Image1Image1Image1Image1image1image_1 (input_object) singlechannelimage(-array) → objectHImageHObjectHImageHobject (byte)
Input image (channel 1).
Image2Image2Image2Image2image2image_2 (input_object) singlechannelimage(-array) → objectHImageHObjectHImageHobject (byte)
Input image (channel 2).
Image3Image3Image3Image3image3image_3 (input_object) singlechannelimage(-array) → objectHImageHObjectHImageHobject (byte)
Input image (channel 3).
ImageResult1ImageResult1ImageResult1ImageResult1imageResult1image_result_1 (output_object) singlechannelimage(-array) → objectHImageHObjectHImageHobject * (byte)
Color-transformed output image (channel 1).
ImageResult2ImageResult2ImageResult2ImageResult2imageResult2image_result_2 (output_object) singlechannelimage(-array) → objectHImageHObjectHImageHobject * (byte)
Color-transformed output image (channel 2).
ImageResult3ImageResult3ImageResult3ImageResult3imageResult3image_result_3 (output_object) singlechannelimage(-array) → objectHImageHObjectHImageHobject * (byte)
Color-transformed output image (channel 3).
ColorTransLUTHandleColorTransLUTHandleColorTransLUTHandleColorTransLUTHandlecolorTransLUTHandlecolor_trans_luthandle (input_control) color_trans_lut → HColorTransLUT, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Handle of the look-up-table for the color space
transformation.
结果
该算子 apply_color_trans_lutapply_color_trans_lutApplyColorTransLutApplyColorTransLutApplyColorTransLutapply_color_trans_lut 返回值 2 (
H_MSG_TRUE)
if
the given parameters are correct and the input images could be
successfully transformed. Otherwise, an exception will be raised.
可能的前置算子
create_color_trans_lutcreate_color_trans_lutCreateColorTransLutCreateColorTransLutCreateColorTransLutcreate_color_trans_lut
可能的后置算子
clear_color_trans_lutclear_color_trans_lutClearColorTransLutClearColorTransLutClearColorTransLutclear_color_trans_lut
可替代算子
trans_from_rgbtrans_from_rgbTransFromRgbTransFromRgbTransFromRgbtrans_from_rgb,
trans_to_rgbtrans_to_rgbTransToRgbTransToRgbTransToRgbtrans_to_rgb
参考其它
create_color_trans_lutcreate_color_trans_lutCreateColorTransLutCreateColorTransLutCreateColorTransLutcreate_color_trans_lut,
clear_color_trans_lutclear_color_trans_lutClearColorTransLutClearColorTransLutClearColorTransLutclear_color_trans_lut
模块
Foundation