发明名称 BLENDING COLORS IN THE PRESENCE OF TRANSPARENCY
摘要 Methods and apparatus for blending colors in the presence of transparency. The method includes blending a lower and an upper graphic element in accordance with a transfer mode by calculating a transfer color from a lower element color and an upper element color according to the transfer mode without regard either to a lower element alpha or to an upper element alpha; calculating a resulting alpha from the lower element alpha and the upper element alpha without regard to any of the lower element color, the upper element color, or the transfer mode; and calculating a resulting color as a weighted average of the lower element color, the transfer color, and the upper element color. The transfer mode can be an arbitrary transfer mode and can be user defined. The resulting graphic element <C,c> having color value C and alpha value c can be calculated in accordance with <C,c> = XFade ( <A,a>, XFade ( <B,1>, <T(A,B), 1>, a ), b ), where XFade (<X,x>, <Y,y>, z) - <R,r> is an operation defined by the formulas r = InterpolateAlpha (x, y, z), t = y x z / r, and R = InterpolateColor (X, Y, t) and where the lower element is <A,a> and the upper element is <B,b>. Each of the colors A, B, and C can be defined by a value for each of a plurality of colorants. The calculated values can defined by c = a + b - axb, and C = Ax (1 - (b / c)) + Bx (1- a) x (b / c) + T (A, B) xax (b / c).
申请公布号 CA2308739(A1) 申请公布日期 2000.11.06
申请号 CA20002308739 申请日期 2000.05.05
申请人 ADOBE SYSTEMS INCORPORATED 发明人 HAMBURG, MARK C.
分类号 G06T3/00;G06T1/00;G06T5/00;G06T15/50;H04N1/46;(IPC1-7):G06T5/50 主分类号 G06T3/00
代理机构 代理人
主权项
地址