摘要 |
Methods and apparatus including computer program products for combining source images to form a final image, each image being a digital image defined by color component values and a transparency value (Fig. 1). The invention performs the steps of receiving two or more source images, each defined by color component and alpha information (102A; 102B); assembling a new, mixed image in per-component format by applying a selection operation on the color and alpha information of the source images to define color component and alpha information of the new image according to a source selection definition (104 and 108); and converting the new per-component image into a shared-alpha format to generate the final image in shared-alpha format (112). In particular embodiments, the selection selects a color value and alpha pair from exactly one source image for each color component of the combined image. The image in per-component format can be converted to a shared-alpha format through use of a matting color.
|