International Journal of Electronics Engineering (ISSN: 0973-7383) Volume 11 • Issue 1 pp. 592-596 Jan 2019-June 2019 www.csjournals.com

Pre-Multiplied Alpha Sandeep Kumar Budakoti, Sandeep Sagar, Praveen Talwar Uttaranchal University, Dehradun

Abstract: Alpha Is Defined As How An Image Is Combined With An Image Is Combined With An Immediate In Order To Create The Look Of Partial Self-Expression. The Method Uses Alpha Evaluates That How Much Basis Pixel‟s Color In Order Covers The Target Pixel‟s Color Information. This Document Includes Speaking About Various Type Of Alpha-Blending Mode That Is Used To Produce This Fractional Lucidity. Alpha-Compositing Is Defined By Which Two Images Can Be Combined And There Are Ranges Of Alpha-Values Which Can Be Multiplied To The Source Pixel That Produce Target Pixel. 0-255 Is Also Range Of Alpha-Values Where 0 Is Completely Transparent (I.E., Opacity =0%) As Well As 255 Is Completely Opaque (I.E., Opacity =100%). Alpha-Blending Is The Process By Mixing The Two Image Color In Order To Outline A Final Image. This Paper Includes Comprehensive Study On Various Alpha-Compositing Techniques. Rainbow Above A Waterfall Is A Good Example Logically Happening Alpha-Blending. In This Example, Rainbow Is Considered As One Image And Background Cascade As Another Then So As To Get Produce Recent Image Alpha, Alpha-Blending Of These Two Images Done Together.

Introduction The Least Factor Of The Picture Is Called Pixels A Piece Of Each Pixel‟s Data Constitutes 4-Channels, Which Is For Red, Blue, And Green As Well As One 8-Bit Alpha Channel. The Alpha-Channel Specifies The Way In Which The Pixel‟s Color Should Be Combined With Another Pixel When One Is Overlaid On The Top Of New Alpha-Channel Cannot Be Defined On Pixel-By-Pixel Basis. Depending Upon How Much You Want To Show The Background. Different Parts Of Object Have Different . This Allows Creating Rectangular Of The Rectangular Boundaries Is Defined Transparent So That Background “Shows Through”. This Very Import Especially Used For Animations To Change Background Since One Outline To Next. The Process Of Combine An Image With Background In Order To Create Partial Lucidity Or Transparency Is Called As Alpha Compositing. It Is The Most Commonly Used In 2-Dimensional Graphics Compositing. It Also Combines Images To Live Footage It Is Considered As Vital As Well As Simple Process. It Is Very Important That The Matter Of Each Element Should Be Reserved To Combine These Images In An Effective Way. This Matter Contains Information About The Figure Of Geometry That Is Being Drawn. It Allows To Differentiate Connecting Parts Of Image That Are Empty And The Parts Where Geometry Actually Drawn. The Alpha-Channel Can Be Called As A Concept That Is Designed Or Created In Order To Store Information. Additional Information Is Stored With Value Between 0-1. The Value Of „0‟ To Represent Pixel Does Not Contain Any Coverage Information. It Is Transparent I.E., The Geometry Does Not Contribute Any Color As The Geometry Didn‟t Overlap Pixel. The Value Of „1‟ To Represents That It Is Opaque As Geometry Has Completely Overlapped The Pixel.

Image: - Alpha Compositing

Page | 592

International Journal of Electronics Engineering (ISSN: 0973-7383) Volume 11 • Issue 1 pp. 592-596 Jan 2019-June 2019 www.csjournals.com

About Alpha Alpha Is Old To Combine Billions Of Pixels To Design Or Form An Image That Pixels To Design Or Form An Image That Pixels To Design Or Form An Image That Can Be Printed, For Video, For Film And Mostly For Each Other Application Of .  Alpha Is Very Much Helpful In Image Compositing. It Provided An Extra Fourth Optional Component Called “Alpha” In Extra To Red, Blue And Green Component.  Alpha Refers To Transparency And It Is Useful When We Want To Create An Element That Seems To A Degree Shows-Through Going On The Top Of Each Other.  The Alpha Value Used For An Image Called Term As „Alpha Channel‟ Sometimes.  According To Smith-“There Are Two Ways To Think Of Alpha Of A Pixel. ”

Alpha-Compositing Alpha-Composting Refers To The Process Of Combining Two Graphical Bodies Which Is To Represent The Coverage, Alpha Compositing Make In Use Of Alpha-Values Or Channel. Alpha-Channels Represent „Opacity‟ Most Often. This Coverage Information Is Helpful To Be Used As To Control Color Compositing. Alpha-Blending Is The Process By Which Multiple Images Are Layered Most Of Alpha-Compositing Function, They Blend Or Composite Two Input Images A Bottom Image As Well As A Top Image In Order To Generate A Composite Image.

\ Working of Alpha Compositing

Page | 593

International Journal of Electronics Engineering (ISSN: 0973-7383) Volume 11 • Issue 1 pp. 592-596 Jan 2019-June 2019 www.csjournals.com

Alpha Compositing:-

Techniques Alpha-Channel Alpha Channels Can Also Be Called As Mask; It Is Defined As The Special Channel Of An Image. Here An Alpha–Channel, The Darkest Areas Are Transparent Whereas White Areas Are Opaque, A Shade Of Grey Shows Unreliable Levels Of Transparency. This Technique Originated From Established Film Compositing Techniques Where A High Contrast Film (Kodalith) Is Joint Through A Traditional Color Strip Or A Black On A White Film. Png And Tga That Are The Digital Image Formats Can Be Save With 32-Bits Of Data /Pixels. These Data Are Direct Interested In 4-Virtual Data Channel That Constitutes About 8 Bit Channel Each I.E. Red, Blue And Green As Well As One 8 Bit Alpha Channel. Hence 8-Bits X 4 Channels=32 Bits. Alpha Channel Is Actually Act As A Mask, As It Specifies How One Pixel‟s Colors Should Be Combined With Other Pixel Color When One Is Overlapped On The Top Of Another.

Real Value Percentage Integer

Full Transparency 0.0 0% 0

Full Opacity 1.0 100% 255

Value of Alpha

Alpha Blending It Is Useful In Displaying An Alpha To Facilitate Semi-Transparent Or Transparent Pixels. In A 2- Bitmap Each Pixel Has Red, Blue And Green Color Than I.E., Additional Transparency Component Other Called As Alpha Channel. It (2-Channel) Consists Of Many Bits As Color Channel.

E.G.:- For Instance, 8bit 2-Channel Is For 256 Level Of Transparency Component. I.E. 0 = Whole Bitmap Transparent And 255 = Whole Bitmap Opaque.

(Source Color * Source Alpha) + (Dest Color * One)

R * B + G * B

+

R G

RG

Page | 594

International Journal of Electronics Engineering (ISSN: 0973-7383) Volume 11 • Issue 1 pp. 592-596 Jan 2019-June 2019 www.csjournals.com

Additive Blending Is Commutative, I.E. It Does Not Matter The Order In Which Images Are Combined, And The End Result Is The Same. Using This Form Of Blending There Is No Need To Sort By Depth Order When Combining Images (Although It Can Be More Difficult To „Visualize‟ The Output)

Alpha Transparency

It Is Comparatively Complex. Every Color Of The Graphics Consists Of An Alpha-Value Which Represents The Extent Of Its Transparency (I.E., Degree Of Opacity). In This Situation To Rgba Color Space, The Alpha Transparency Color Represented As Red, Green, And Blue And Alpha Indicate Its Opacity. Where:-  Zero(0) :- Transparent Completely, 0% Rendering All Background ”Shows Through”  One (1):- Opaque Completely,100% Rendering No Background “Shows Through” Alpha Transparency Is The Method By Which Gradations Of Opacity And Continuum Can Be Supported. Values Between 0-1 Allows Assorted Of The Set To “Mix” And “Show Through” With Color. Values That Are Closer To Zero Represent Added Background Whereas The Closer Values To One Represents Less Background. It Is Expected To The Opacity Range That It Is Possible To Produce Or From Graphics That Either Die Away Or They Have Smoother Edger.

Five Green Rectangles As Foreground And Common Red Background

Rgb Alpha

Used To Fill Areas With Transparent Colors; Starting 3-Number Indicates Color. In Rgb Values And 4th Indicates Transparency. Values Between 0-1 I.E., (Zero Completely Transparent And One Completely Opaque).

Image Compositing:-

Merits:-

1. Alpha Blending Is Filtering And Associative And It Gives An Accurate Result. 2. The Color By Alpha Value Provides An Extra Multiplication Through The Process Of Compositing. 3. It Provides Segmentation Of Image Into Regions. 4. It Blends Into Single Image That Is To Seamlessly.

Demerits:- 1. Loss Of Accuracy In The Rgb Values Due To Premultiplication, As A Result If Alpha Channel Is Removed Or Color Information Is Brightened A Noticeable Loss In Quality.

Image Composting:-

Application:-  Stitches Image Into A View.

Page | 595

International Journal of Electronics Engineering (ISSN: 0973-7383) Volume 11 • Issue 1 pp. 592-596 Jan 2019-June 2019 www.csjournals.com

 Photo Mixture.  Remove Nation.  Stroboscopic Images.  Extends Depth-Of-Field.  Flash / No Flash.  Produces High Dynamic Range Images  Multi-Camera Array.

Conclusion: - Alpha Compositing Is Technique In Which We Can Combine Two Images And Display It As A Single Image, In Which We Resize One Image And Pixels Of That Image Will Be Overlapping Pixels Of Our Background Image.

Reference: - 1) Sudipta Maji, Ashok Nath, “Scope And Issues In Alpha Compositing Technology”, International Journal Of Innovative Research In Advanced Engineering (Ijirae). Issn: 2349-2763, Issue 12, Volume 2, December 2015. 2) Http://Dreamsteep.Com/Tutorials/Blender/2014-Creating-An-Animated-Alpha-Image-Sequence.Html 3) Https://Css-Tricks.Com/Rgba-Browser-Support/ 4) Https://Www.Revolvy.Com/Main/Index.Php?S=Alpha+Compositing&Item_Type=Topic 5) Http://Www.Cs.Princeton.Edu/Courses/Archive/Spr11/Cost426/Notes/Cost426_S11_Lecture04_Compositi ng.Pdf 6) Smith, Alvy Ray, Color Gamut Transform Pairs , Computer Graphics, Vol 12, No 3, July 1984, 12-19. Siggraph‟78 Conference Proceedings. 7) Smith, Alvy Ray, Analysis Of The Color-Difference Technique, Tech Memo 30, Computer Division, Lucasfilm Ltd., Mar 1982. 8) Smith, Alvy Ray, Math Of Matting, Tech Memo 32, Computer Division, Lucasfilm Ltd., Apr 1982. Reissue Of Tech Memo Of Dec 30, 1980. 9) Http://Home.Comcast.Net/~Tom_Forsyth/Blog.Wiki.Html# Premultiplied Alpha. 10) Principles Of Color Technology 2nd Edition Billmeyer And Saltzman, John Wiley And Sons, 1981. 11) Compositing Digital Images Thomas Porter And Tom Duff, Computer Graphics Volume 18, Number 3, July 1984. 12) Thomas Porter And Tom Duff, Compositing Digital Images, Computer Graphics.

Page | 596