Storing images having semi-transparent pixels via alpha regions
Abstract
An image storage and processing method constructs, clips, fills, and combines arbitrary 2-dimensional shapes in an advanced graphics system. The method supports processing of anti-aliased images by compressing the image into a novel AlphaRegion data structure. AlphaRegion encodes into the data structure both the partially transparent as well as the fully opaque alpha values of an image according to rectangular bands. A band is a contiguous series of scan lines that have the same pattern of alpha values in a single direction. AlphaRegion encoding results in a more compact representation than possible in a conventional bitmap, but without losing the anti-aliasing features. AlphaRegion can be constructed either by supersampling sub-scan lines of an image, from the scan lines of a gray-scale image, from an existing conventional 1-bit Region or alpha mask buffer, or directly from a scan-line conversion of a geometric shape. AlphaRegion stores image data into three arrays, yInfo, xInfo and alphaData. Methods provided with AlphaRegion include rendering methods for filling or clipping the area on the drawing surface and methods for combining two AlphaRegions using boolean combination opera
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 17 · Forward citations: 6.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A computer-implemented method of representing an image, the image comprising spans of pixels, the pixels having respective opacities, the method comprising: analyzing the opacities of pixels of the spans; classifying one of the spans as containing no pixels of a first predetermined opacity and no pixels of a second predetermined opacity; storing data representing the classified span in a computer-readable storage medium; storing data representing alpha values quantifying opacities for the pixels of the classified span in the computer-readable storage medium; and representing at least one pixel
- Claim 2Depends on #1
The method of claim 1 wherein the first predetermined opacity is transparent and the second pred
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (6 of 6 total)
References Cited — Backward Prior Art (17)
Non-Patent Literature (5)
- "2927 How to Create Non-rectangular Windows," http://www.xploiter.com/programming/c/borland/2927.html, pp. 1-3, Jun. 12, 1996.
- "History of User-Visible Changes," ftp://ftp.x.org/contrib/window<SUB>-</SUB>managers/gwm/CHANGES, pp. 1-33, Dec. 8, 1995.
- "K1 Image FAQ," Khoral Research Inc., Version 2.001, pp. 1-13, Aug. 12, 1995.
- Cheol-Hi Lee et al., "Template-Based Rendering of Run-Length Encoded Volumes," IEEE The Fifth Pacific Conference on Computer Graphics and Applications, pp. 138-147, 1997.
- Crochemore et al., "Pattern Matching and Text Compression Algorithms," The Computer Science and Engineering Handbook, Tucker (ed.), pp. 162-202, 1997.