您好,欢迎来到华佗健康网。
搜索
您的当前位置:首页Compositing in the presence of different transpare

Compositing in the presence of different transpare

来源:华佗健康网
专利内容由知识产权出版社提供

专利名称:Compositing in the presence of different

transparencies

发明人:Mark Hamburg申请号:US11405949申请日:20060417公开号:US07184055B2公开日:20070227

专利附图:

摘要:Methods and apparatus, including computer program products, for blending inthe presence of different transparencies. In one aspect, the invention provides acomputer implemented method for blending a first graphic element and a second

graphic element in accordance with a transfer mode T, the first graphic element having acolor A and an alpha a, the second graphic element having a color B and an alpha b. Themethod includes: calculating a resulting alpha as lerp(a, b, q), lerp being a linearinterpolation function and q being a pseudo-opacity that varies between 1 and 0,inclusive; calculating a blended color as T(A, B, q); calculating an intermediate color asinterpolate_color(A, blended color, min(b/resulting alpha, 1)), interpolate_color being acontinuous function that interpolates its input colors and min being a function thatselects the smaller of its input values; and calculating a result color asinterpolate_color(B, intermediate color, min(a/resulting alpha, 1)).

申请人:Mark Hamburg

地址:Scotts Valley CA US

国籍:US

代理机构:Fish & Richardson P.C.

更多信息请下载全文后查看

因篇幅问题不能全部显示,请点此查看更多更全内容

Copyright © 2019- huatuo0.com 版权所有 湘ICP备2023021991号-1

违法及侵权请联系:TEL:199 1889 7713 E-MAIL:2724546146@qq.com

本站由北京市万商天勤律师事务所王兴未律师提供法律服务