Previous | Next --- Slide 49 of 78
Back to Lecture Thumbnails
szzheng

Could someone explain how we get the vectors at the bottom [0,1,0,1],[0,1,0,1] and [0,0,0,0], [0,0,0,0]?

seanxu

[0,1,0,1] is the green pixel with alpha 1. [0,0,0,0] is the red pixel with alpha 0. Because alpha is 0, the pre-multiplied form is [0,0,0,0]. If it was a half transparent red, it would have been something like [0.5, 0, 0, 0.5]

a_s

How is the non-premultiplied color brown? Is it because it is combining the green and red pixel colors? How, on the other hand, are we getting green from the premultiplied image? Is it because the red has an alpha value of 0 so when we combine them, there actually is no red?

yueli96

why [0,0,0,0] represents the red pixel with alpha 0?