有2两种方法可以进行色彩空间转换:
方法一:decompose3 (Image, Image1, Image2, Image3),
trans_from_rgb (Image1, Image2, Image3, ImageResult11, ImageResult21, ImageResult31, ColorSpace[Index]);
方法二:decompose3 (Image, Image1, Image2, Image3),
create_color_trans_lut (ColorSpace[Index], 'from_rgb', 8, ColorTransLUTHandle),
apply_color_trans_lut (Image1, Image2, Image3, ImageResult1, ImageResult2, ImageResult3, ColorTransLUTHandle);