发明名称 Variable dithering for GIF
摘要 A method for generating a palette-based output image from a source image by variably dithering regions of the source image using an associated regional dithering mask. The palletized output image can be a GIF image or a PNG8 image. The dithering mask contains a plurality of dithering levels specifying the degree to which colors in corresponding regions of the source image can be dithered to paint the output image. The dithering mask stores dithering levels for the source image on a per pixel basis. The dithering mask is stored as an alpha channel of the source image. The palletized output file is generated from the source image on a per pixel basis. For each pixel, a target color is calculated by adding an accumulated error from neighboring pixels to the true color of a corresponding pixel in the source image. The output pixel is painted with the closest color to the target color that is available in the output file's color table. A color error is calculated by subtracting the output pixel's paint color from it's target color, and multiplying the difference by a dithering level obtained from a corresponding pixel in a dithering mask. The color error is diffused to neighboring pixels according to a dithering algorithm, such as the Floyd-Steinberg dithering algorithm.
申请公布号 US6844882(B1) 申请公布日期 2005.01.18
申请号 US20000736627 申请日期 2000.12.13
申请人 ADOBE SYSTEMS INCORPORATED 发明人 CLAUSON JON D.
分类号 G09G3/20;G09G5/00;G09G5/02;G09G5/06;(IPC1-7):G09G5/02 主分类号 G09G3/20
代理机构 代理人
主权项
地址