1. A method of generating an image, the method comprising: receiving multiple images of a scene captured using camera modules, at least some of said camera modules having different depths of field; determining an image portion sharpness level for each of a plurality of portions of said multiple images; and generating a composite image from said multiple images based on the determined image portion sharpness levels.