Patent ID: 8711234

Claim:
An imaging device, comprising: an optical system used to receive images; and a processing element communicatively coupled to the optical system and that is programmed to perform actions, including: receiving a plurality of preview images from the optical system; estimating a global motion and a local motion based on at least a portion of the plurality of preview images; and when the estimated local motion is less than or equal to the estimated global motion, configuring the optical system to provide a final image based at least on an exposure time based on the estimated global motion; and otherwise: configuring the optical system to provide a first image based on at least a first exposure parameter set and a plurality of other images based at least on one or more other exposure parameter sets, separating a global motion region from a local motion region in the first image, separating a plurality of local motion regions from global motion regions in the plurality of other images, and generating a final composite image from a fusion of the separated global motion region from the first image with the separated plurality of local motion regions in the plurality of other images.