Patent attributes
An apparatus comprises a processing unit configured to obtain preliminary image data of a preliminary digital image frame captured by a digital image sensor having comprising a sensor layer comprising a pixel array; a mask layer comprising an array of micro apertures positioned within aperture sites corresponding the positioning and size of the light sensitive pixels, and a lens layer comprising an array of micro lenses positioned within lens sites. The micro apertures are positioned in the aperture sites at aperture positions defined by an aperture density function. The processing unit is further configured to obtain the aperture density function; and a position difference between prevailing positioning of the mask layer in relation to the lens layer from a reference relative positioning thereof; and to reconstruct, on the basis of the preliminary image data, the position difference, and the aperture density function, an output digital image frame.