CA2432383A1 - System and method for employing non-alpha channel image data in an alpha-channel-aware environment - Google Patents

System and method for employing non-alpha channel image data in an alpha-channel-aware environment Download PDF

Info

Publication number
CA2432383A1
CA2432383A1 CA002432383A CA2432383A CA2432383A1 CA 2432383 A1 CA2432383 A1 CA 2432383A1 CA 002432383 A CA002432383 A CA 002432383A CA 2432383 A CA2432383 A CA 2432383A CA 2432383 A1 CA2432383 A1 CA 2432383A1
Authority
CA
Canada
Prior art keywords
pixel data
alpha
value
channel
data file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CA002432383A
Other languages
French (fr)
Other versions
CA2432383C (en
Inventor
Jeffrey M. J. Noyle
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Microsoft Technology Licensing LLC
Original Assignee
Microsoft Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Microsoft Corp filed Critical Microsoft Corp
Publication of CA2432383A1 publication Critical patent/CA2432383A1/en
Application granted granted Critical
Publication of CA2432383C publication Critical patent/CA2432383C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • G06T15/50Lighting effects
    • G06T15/503Blending, e.g. for anti-aliasing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/40Filling a planar surface by adding surface attributes, e.g. colour or texture
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects

Abstract

An image rendered by a non-alpha-channel-aware application is employed in an alpha-channel-aware environment. The pixel data file to be written to by the non- alpha-channel-aware application is initialized by setting the alpha value fo r each pixel to 1. The alpha-channel-aware application then writes to the initializ ed pixel data file, changing some or all pixel data. The alpha value for each pixel i s then decremented by 1 (modulo 256) making the changed pixels opaque and the unchanged pixels transparent.

Claims (19)

1. A method for using an image in a pixel data file rendered by a non-alpha-channel-aware application in a alpha-channel-aware environment, where (i) the non-alpha-channel-aware application writes pixel data values to an existing pixel data file of pixel data values; (ii) each pixel data value includes an n-bit alpha value and corresponds to a pixel location; (iii) the non-alpha-channel-aware application sets the alpha value of the pixel data value to 0 for each pixel for which a pixel data value is written by the application to the pixel data file; and (iv) the alpha-channel-aware environment is a graphic environment in which each alpha values is used to set transparency of the corresponding pixel when the image in the pixel data file is displayed in the foreground of other image data, with an alpha value of zero corresponding to a full transparency and increasing alpha values corresponding to increasing levels of opacity, comprising:
(a) initializing the alpha value of the pixel data value for each pixel data value in the pixel data file to 1;
(b) executing the non-alpha-channel-aware application on the pixel data file;
(c) changing the alpha value of each pixel data value by changing the alpha value of the pixel data values in the pixel data file to 0 for each pixel data value in the pixel data file with an alpha value of 1, and changing the alpha value of the pixel data value in the pixel data file to the alpha value for full opacity for each pixel data value with an alpha value of 0; and (d) displaying the pixel data file in the alpha-channel-aware environment.
2. The method of claim 1, where said changing of the alpha value of the pixel data value comprises decrementing the alpha value of the pixel data value for each pixel data value in the pixel data file by 1, modulo 2".
3. The method of claim 2, where n is selected from a group consisting of 1 and 8.
4. At least one of an operating system, a computer-readable medium having stored thereon a plurality of computer-executable instructions, a co-processing device, a computing device, and a modulated data signal carrying computer executable instructions for performing the method of claim 1.
5. A method for using an image in a pixel data file rendered by a non-alpha-channel-aware application in a alpha-channel-aware environment, where (i) the non-alpha-channel-aware application writes pixel data values to an existing pixel data file of pixel data values; (ii) each pixel data value includes an n-bit alpha value and corresponds to a pixel location; (iii) the non-alpha-channel-aware application sets the alpha value of the pixel data value to m for each pixel for which a pixel data value is written by the application to the pixel data file; and (iv) the alpha-channel-aware environment is a graphic environment in which each alpha value is used to set transparency of the corresponding pixel when the image in the pixel data file is displayed in the foreground of other image data, with an alpha value of zero corresponding to a full transparency and increasing alpha values corresponding to increasing levels of opacity, comprising:
(a) initializing the alpha value of the pixel data value for each pixel data value in the pixel data file to m+1;
(b) executing the non-alpha-channel-aware application on the pixel data file; and (c) changing the alpha value of each pixel data value by changing the alpha value of the pixel data in the pixel data file to 0 for each pixel data value in the pixel data file with an alpha value; of m and changing the alpha value of the pixel data value in the pixel data file to the alpha value for full opacity for each pixel data value with an alpha value of 0; and (d) displaying the pixel data file in the alpha-channel-aware environment.
6. The method of claim 5, where said changing of the alpha value of each pixel data value comprises decrementing the alpha value of the pixel data value for each pixel data value in the pixel data file by m+1 modulo 2n.
7. At least one of an operating system, a computer-readable medium having stored thereon a plurality of computer-executable instructions, a co-processing device, a computing device, and a modulated data signal carrying computer executable instructions for performing the method of claim 5.
8. A method for using a non-alpha-channel-aware application in a alpha-channel-aware environment, where (i) the non-alpha-channel-aware application writes pixel data values to an existing pixel data file of pixel data values;
(ii) each pixel data value includes an n-bit alpha value and corresponds to a pixel location;
(iii) the non-alpha-channel-aware application sets the alpha value of the pixel data value to m for each pixel for which a pixel data value is written by the application to the pixel data file; (iv) the alpha-channel-aware environment is a graphic environment in which each alpha value is used to set transparency of the corresponding pixel when the image in the pixel data file is displayed in the foreground of other image data, with an alpha value of zero corresponding to a full transparency and increasing alpha values corresponding to increasing levels of opacity; and (v) the alpha value for a desired opacity for pixels written by the non-alpha-channel-aware application is p, comprising:
(a) initializing the alpha value of the pixel data value for all pixel data value in the pixel data file to 2n-p+m;
(b) executing the non-alpha-channel-aware application on the pixel data file;
(c) changing the alpha value of each pixel data value by changing the alpha value of the pixel data value in the pixel data file to m for each pixel data value in the pixel data file with an alpha value of 2n-p+m and changing the alpha value of the pixel data value in the pixel data file to p for each pixel data value with an alpha value of m; and (d) displaying the pixel data file in the alpha-channel-aware environment.
9. The method of claim 8, where said changing of the alpha value of the pixel data value comprises incrementing the alpha value of the pixel data value for all pixel data value in the pixel data file by p-m, modulo 2".
10. The method of claim 8, where said changing of the alpha value of the pixel data value comprises decrementing the alpha value of the pixel data value for all pixel data value in the pixel data file by m-p, modulo 2".
11. The method of claim 8, where at least one of p or m is zero.
12. At least one of an operating system, a computer readable medium having stored thereon a plurality of computer-executable instructions, a co-processing device, a computing device, and a modulated data signal carrying computer executable instructions for performing the method of claim 8.
13. A computer graphics system comprising computer executable modules for using an image in a pixel data file rendered by a non-alpha-channel-aware application in a alpha-channel-aware environment, where (i) the non-alpha-channel-aware application writes pixel data values to an existing pixel data file of pixel data values;
(ii) each pixel data value includes an n-bit alpha value and corresponds to a pixel location;
(iii) the non-alpha-channel-aware application sets the alpha value of the pixel data value to 0 for each pixel for which a pixel data value is written by the application to the pixel data file; and (iv) the alpha-channel-aware environment is a graphic environment in which each alpha values is used to set transparency of the corresponding pixel when the image in the pixel data file is displayed in the foreground of other image data, with an alpha value of zero corresponding to a full transparency and increasing alpha values corresponding to increasing levels of opacity, said computer modules comprising:

(a) means for initializing the alpha value of the pixel data value for each pixel data value in the pixel data file to 1;
(b) means for executing the non-alpha-channel-aware application on the pixel data file;
(c) means for changing the alpha value of each pixel data value by changing the alpha value of the pixel data values in the pixel data file to 0 for each pixel data value in the pixel data file with an alpha value of 1, and changing the alpha value of the pixel data value in the pixel data file to the alpha value for full opacity for each pixel data value with an alpha value of 0; and (d) means for displaying the pixel data file in the alpha-channel-aware environment.
14. The computer graphics system of claim 13 where said means for changing the alpha value of the pixel data value comprises means for decrementing the alpha value of the pixel data value for each pixel data in the pixel data file by 1, modulo 2".
15. The method of claim 13 where n is selected from a group consisting of 1 and 8.
16. A computer graphics system comprising computer executable modules for using a non-alpha-channel-aware application in a alpha-channel-aware environment, where (i) the non-alpha-channel-aware application writes pixel data values to an existing pixel data file of pixel data values; (ii) each pixel data value includes an n-bit alpha value and corresponds to a pixel location; (iii) the non-alpha-channel-aware application sets the alpha value of the pixel data value to m for each pixel for which a pixel data value is written by the application to the pixel data file; (iv) the alpha-channel-aware environment is a graphic environment in which each alpha value is used to set transparency of the corresponding pixel when the image in the pixel data file is displayed in the foreground of other image data, with an alpha value of zero corresponding to a full transparency and increasing alpha values corresponding to increasing levels of opacity; and (v) the alpha value for a desired opacity for pixels written by the non-alpha-channel-aware application is p, said computer executable modules comprising:
(a) means for initializing the alpha value of the pixel data value for all pixel data value in the pixel data file to 2"-p+m;
(b) means for executing the non-alpha-channel-aware application on the pixel data file;
(c) means for changing the alpha value of each pixel data value by changing the alpha value of the pixel data value in the pixel data file to m for each pixel data value in the pixel data file with an alpha value of 2"-p+m and changing the alpha value of the pixel data value in the pixel data file to p for each pixel data value with an alpha value of m; and (d) means for displaying the pixel data file in the alpha-channel-aware environment.
17. The computer graphics system of claim 16, where said means for of changing the alpha value of the pixel data comprises means for incrementing the alpha value of the pixel data for all pixel data in the pixel data file by p-m, modulo 2".
18. The computer graphics system of claim 16, where said means for of changing the alpha value of the pixel data comprises means for incrementing the alpha value of the pixel data for all pixel data in the pixel data file by m-p, modulo 2".
19. The computer graphics system of claim 16, where at least one of p or m is zero.
CA2432383A 2002-06-28 2003-06-13 System and method for employing non-alpha channel image data in an alpha-channel-aware environment Expired - Fee Related CA2432383C (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US10/185,076 US6954215B2 (en) 2002-06-28 2002-06-28 System and method for employing non-alpha channel image data in an alpha-channel-aware environment
US10/185,076 2002-06-28

Publications (2)

Publication Number Publication Date
CA2432383A1 true CA2432383A1 (en) 2003-12-28
CA2432383C CA2432383C (en) 2012-01-03

Family

ID=27612985

Family Applications (1)

Application Number Title Priority Date Filing Date
CA2432383A Expired - Fee Related CA2432383C (en) 2002-06-28 2003-06-13 System and method for employing non-alpha channel image data in an alpha-channel-aware environment

Country Status (15)

Country Link
US (1) US6954215B2 (en)
EP (1) EP1376473A3 (en)
JP (1) JP4412580B2 (en)
KR (2) KR100874800B1 (en)
CN (1) CN1312632C (en)
AU (1) AU2003204703B2 (en)
BR (1) BR0302116A (en)
CA (1) CA2432383C (en)
MX (1) MXPA03005365A (en)
MY (1) MY140706A (en)
NO (1) NO330126B1 (en)
PL (1) PL360235A1 (en)
RU (1) RU2321891C2 (en)
TW (1) TWI326056B (en)
ZA (1) ZA200304642B (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100612037B1 (en) * 2004-12-24 2006-08-21 유은옥 A auto balance high boing bar
US7492957B1 (en) * 2005-08-29 2009-02-17 Symantec Corporation Using run length encoding to detect target images
US8189908B2 (en) * 2005-09-02 2012-05-29 Adobe Systems, Inc. System and method for compressing video data and alpha channel data using a single stream
US8014615B2 (en) * 2005-09-02 2011-09-06 Adobe Systems Incorporated System and method for decompressing video data and alpha channel data using a single stream
US20070219307A1 (en) * 2006-03-17 2007-09-20 Yong Yang Emulsion polymer blend coating compositions and methods for increasing chalky substrate adhesion
US8717391B2 (en) * 2010-11-19 2014-05-06 Apple Inc. User interface pipe scalers with active regions
CN102244784B (en) * 2011-06-09 2014-03-26 杭州典能科技有限公司 Method for compressing and displaying picture including transparent information
US10074203B2 (en) * 2014-12-23 2018-09-11 Synaptics Incorporated Overlay for display self refresh
US10565739B2 (en) 2017-12-29 2020-02-18 Cerner Innovation, Inc. Automated icon accessibility assessment algorithm and tool
US10796421B2 (en) 2018-02-13 2020-10-06 Adobe Inc. Creating selective virtual long-exposure images
US10573052B2 (en) * 2018-02-13 2020-02-25 Adobe Inc. Creating cinemagraphs with virtual long-exposure images
CN114286163B (en) * 2021-12-24 2024-02-13 苏州亿歌网络科技有限公司 Sequence chart recording method, device, equipment and storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5914725A (en) * 1996-03-07 1999-06-22 Powertv, Inc. Interpolation of pixel values and alpha values in a computer graphics display device
GB2317292B (en) * 1996-09-12 2000-04-19 Discreet Logic Inc Processing image data
US6128001A (en) * 1997-04-04 2000-10-03 Avid Technology, Inc. Methods and apparatus for changing a color of an image
US5982381A (en) * 1997-07-03 1999-11-09 Microsoft Corporation Method and apparatus for modifying a cutout image for compositing
US6771264B1 (en) * 1998-08-20 2004-08-03 Apple Computer, Inc. Method and apparatus for performing tangent space lighting and bump mapping in a deferred shading graphics processor
AU2001261897B2 (en) 2000-05-29 2004-12-16 Canon Kabushiki Kaisha A method for enabling file format compatibility

Also Published As

Publication number Publication date
NO20032747D0 (en) 2003-06-17
JP2004038957A (en) 2004-02-05
TW200406716A (en) 2004-05-01
US6954215B2 (en) 2005-10-11
NO20032747L (en) 2003-12-29
CN1312632C (en) 2007-04-25
KR20080089560A (en) 2008-10-07
KR100918532B1 (en) 2009-09-21
EP1376473A2 (en) 2004-01-02
MY140706A (en) 2010-01-15
NO330126B1 (en) 2011-02-21
CN1471052A (en) 2004-01-28
RU2321891C2 (en) 2008-04-10
KR100874800B1 (en) 2008-12-19
MXPA03005365A (en) 2004-01-22
CA2432383C (en) 2012-01-03
US20040001071A1 (en) 2004-01-01
ZA200304642B (en) 2004-07-06
AU2003204703B2 (en) 2009-10-08
KR20040002549A (en) 2004-01-07
JP4412580B2 (en) 2010-02-10
PL360235A1 (en) 2003-12-29
AU2003204703A1 (en) 2004-01-15
EP1376473A3 (en) 2005-12-28
BR0302116A (en) 2004-09-08
TWI326056B (en) 2010-06-11

Similar Documents

Publication Publication Date Title
KR102460922B1 (en) Display Device and Driving Method thereof
CA2432383A1 (en) System and method for employing non-alpha channel image data in an alpha-channel-aware environment
US11127369B2 (en) Method of synthesizing RGBA layers for mobile field sequential display, display device, electronic device and computer readable storage medium using the same
US20100207957A1 (en) Overlaying videos on a display device
TWI268462B (en) Image data set with embedded pre-subpixel rendered image
EP0840257A3 (en) Illumination and shadow simulation in a computer graphics/imaging system
CN107315275B (en) Display method and device and computer equipment
KR950001544A (en) Draw processor for high performance 3D graphics accelerators
JP3306746B2 (en) Display graphics adapter and method of storing pixel data in a window system handling different pixel sizes
CN101162571B (en) Liquid crystal display and method of driving the same
TW201401254A (en) Electronic display
RU2003117474A (en) SYSTEM AND METHOD FOR USING DATA OF IMAGES NOT AN ALPHA CHANNEL IN THE MEDIA INFORMED ABOUT ALPHA CHANNEL
BR0215946A (en) System for displaying information
EP1783725A2 (en) Technique for improving the readability of graphics on a display
CN212624039U (en) Electronic reader capable of improving handwriting delay
WO2004072934A3 (en) Display processing system and method
JPH04174497A (en) Display controlling device
US20200342818A1 (en) Display control apparatus, display control method, and display apparatus
JP2015212749A (en) Display device, display method and program
JPS62297975A (en) Control system for multi-window display
TWI751496B (en) E-paper display device and a method for driving an e-paper display device
TW201719605A (en) Dot matrix-block code two-in-one epd display screen
JP2001034386A (en) Display controller and display control method
EP0175499A3 (en) Display system for computers
JPH06343142A (en) Image display device

Legal Events

Date Code Title Description
EEER Examination request
MKLA Lapsed

Effective date: 20140613

MKLA Lapsed

Effective date: 20140613