Patent ID: 7825969

Claim:
A method comprising: capturing an image with a pre-selected multi-exposure pixel pattern by an image sensor of a camera for at least one color channel, wherein a plurality of groups of pixels of the image sensor have different pre-selected exposure times for said at least one color channel; and determining a value of each pixel of said image for said at least one color channel using a weighted combination of a value of said each pixel and values of one or more of neighboring pixels of said each pixel, wherein at least one of said one or more neighboring pixels has a different exposure time than said each pixel using a predetermined algorithm; wherein said determining comprises: calculating an interpolating value of said each pixel of said image using said value of the pixel and said values of one or more neighboring pixels; calculating a weight coefficient for said each pixel using said value, said interpolating value and different exposure times for said each pixel and for said at least one of said one or more neighboring pixels; and calculating a final value for said each pixel using said interpolating value and said weight coefficient.