A method of digital image processing, comprising: acquiring a scene with a digital image acquisition device including multiple features; identifying a first group of pixels that correspond to a first feature within the scene; adjusting an optic in real time using a MEMS component to a first focus position to focus the device on the first feature; capturing a first digital image at the first focus position; identifying a second group of pixels that correspond to a second feature within approximately the same scene; adjusting the optic in real time using the MEMS component to a second focus position to focus the device on the second feature; capturing a second digital image at the second focus position; registering the first and second digital images including the first and second features; and storing, transmitting, combining, capturing or displaying the first and second digital images together, or combinations thereof; characterized by: determining (24,28) that the first feature appears blurry in the second digital image or that the second feature appears blurry in the first image, or both, and wherein the storing, transmitting or displaying of the first and second digital images together, or combinations thereof, comprises generating a composite image including the first feature from the first digital image and the second feature from the second digital image, such that both of the first and second features appear to be sharp in the composite image. acquiring a scene with a digital image acquisition device including multiple features; identifying a first group of pixels that correspond to a first feature within the scene; adjusting an optic in real time using a MEMS component to a first focus position to focus the device on the first feature; capturing a first digital image at the first focus position; identifying a second group of pixels that correspond to a second feature within approximately the same scene; adjusting the optic in real time using the MEMS component to a second focus position to focus the device on the second feature; capturing a second digital image at the second focus position; registering the first and second digital images including the first and second features; and storing, transmitting, combining, capturing or displaying the first and second digital images together, or combinations thereof; characterized by: determining (24,28) that the first feature appears blurry in the second digital image or that the second feature appears blurry in the first image, or both, and wherein the storing, transmitting or displaying of the first and second digital images together, or combinations thereof, comprises generating a composite image including the first feature from the first digital image and the second feature from the second digital image, such that both of the first and second features appear to be sharp in the composite image. determining (24,28) that the first feature appears blurry in the second digital image or that the second feature appears blurry in the first image, or both, and wherein the storing, transmitting or displaying of the first and second digital images together, or combinations thereof, comprises generating a composite image including the first feature from the first digital image and the second feature from the second digital image, such that both of the first and second features appear to be sharp in the composite image.