摘要 |
Techniques to capture and fuse short- and long-exposure images of a scene from a stabilized image capture device are disclosed. More particularly, the disclosed techniques use not only individual pixel differences between co-captured short- and long-exposure images, but also the spatial structure of occluded regions in the long-exposure images (e.g., areas of the long-exposure image(s) exhibiting blur due to scene object motion). A novel device used to represent this feature of the long-exposure image is a “spatial difference map.” Spatial difference maps may be used to identify pixels in the short- and long-exposure images for fusion and, in one embodiment, may be used to identify pixels from the short-exposure image(s) to filter post-fusion so as to reduce visual discontinuities in the output image. |
主权项 |
1. An electronic device, comprising:
an image capture unit; a memory operatively coupled to the image capture unit; and one or more processors operatively coupled to the memory and configured to execute instructions stored in the memory, the instructions configured to cause the one or more processors to—
capture, by the image capture unit, a long-exposure image having pixels;store the long-exposure image in the memory;capture, by the image capture unit, a short-exposure image having pixels, wherein each pixel in the short-exposure image has a corresponding pixel in the long-exposure image;store the short-exposure image in the memory;generate, in the memory, a difference map based on the short- and long-exposure images, the difference map having values wherein each value has a corresponding pixel in each of the short- and long-exposure images;identify one or more connected-components in the difference map, wherein each connected component comprises one or more values;nullify at least some of the identified one or more connected components to generate a spatial difference map, wherein each nullified connected component comprises less than a specified number of values; andfuse, in the memory, the short- and long-exposure images based on the spatial difference map. |