请我需要有关 我计算包括Y,Cr的颜色空间的变化帮助,Cb值使用转换 int Y = (int)(0.299*r+0.587*g+0.114*b);
int Cb=(int)(128-0.169*r-0.331*g+0.500*b);
int Cr =(int)(128+0.500*r-0.419*g-0.081*b);
现在我要保存新形象与新的色彩空间,例如Y
set colorcode to (choose color)
set password1 to text returned of (display dialog "Write the colorcode " & colorcode & " down below" default answer "" buttons {"continue", "cancel"} default button 1