摘要 |
A method for merging images is disclosed. The present invention may be implemented as a method for merging two or more images to produce a merged image using a mask. Each of these images has mutually corresponding pixels. In other words, each pixel value in an image has a spatially corresponding pixel in the other images. The mask has mask values, each mask value corresponding to a pixel in an image. The mask value is used to determine the corresponding pixel value of the merged image. One embodiment uses this mask value to set a corresponding pixel value of the merged image to a pixel value of one of the two or more images. Another embodiment uses the mask value as a weight. This weight is used to calculate the pixel value as a combination of corresponding pixel values of the two or more images. By using such a mask, a merged image may be formed avoiding artifacts resulting from decompressing a highly compressed image.
|