Patent ID: 8860868

Claim:
A digital video camera for finding a correct focus setting when capturing a video image stream of a scene, comprising: a photo sensor having a plurality of pixels, each pixel being arranged to obtain and output pixel data; a focusing device arranged to set a focus of the digital video camera; a processing unit arranged to process pixel data from a first subset of the pixels such that image frames of said video image stream are rendered based on pixel data in said first subset of pixels; an array of micro lenses, of the type used in a light-field camera, arranged above and covering a second subset of the pixels, each of said micro lenses covering a number of pixels; wherein the first subset of pixels is confined within an area and endlessly bordered by the second subset of pixels arranged outside and adjacent to said first subset of pixels such that a frame of pixels of said second subset is formed around said first subset of pixels; wherein said processing unit further is arranged to process pixel data from said second subset of said plurality of pixels such that information pertaining to distance to one or more objects in said scene is extracted; and wherein said focusing device is arranged to set the focus of the digital video camera based on said information pertaining to distance to one or more objects.