Patent ID: 7940311

Claim:
A method comprising: separating an image, captured with an image sensor with a multi-exposure pixel pattern for one or more color channels with a plurality of groups of pixels of said image sensor having different exposure times, for each color of said one or more color channels and for each exposure time of said different exposure times, into sub-images comprising pixels with exposure values only for one exposure time of said different exposure times and pixels with missing exposure values for exposure times different from said one exposure time; interpolating exposure values for said pixels with missing exposure values in each sub-image of said sub-images using a predetermined algorithm for providing interpolated images of said sub-images; combining said interpolated images for each of said one or more color channels according to a predetermined criterion to provide an enhanced image of said image for each of said one or more color channels for enhancing a dynamic range of said image; recombining said enhanced images for color channels of said one or more color channels using said multi-exposure pixel pattern for providing a recombined image with a high dynamic range of said image, wherein a number of said one or more color channels is two or more; displaying said recombined image on a viewfinder; and adjusting said different exposure times through a user interface using said recombined image displayed on said viewfinder as a feedback for optimizing said dynamic range of said recombined image, wherein said different exposure times adjusted through the user interface include a normal-exposure period, an under-exposure period, and an over-exposure period, wherein said adjusting comprises adjusting a parameter to a value of greater than or equal to one, wherein the normal-exposure period multiplied by the adjusted parameter value determines the over-exposure period and the normal-exposure period divided by the adjusted parameter value determines the under-exposure period.