1. A method for imaging an object with image resolution for at least a part of the object exceeding by a predetermined factor a geometrical resolution defined by a detector pixel array, the method comprising applying an optical processing to the wavefront of a light signal indicative of at least a part of the object to be imaged with the enhanced resolution, while propagating towards the detector pixel array, said optical processing being predetermined in accordance with said predetermined factor of resolution enhancement, aliasing effect occurring in the detector plane and to provide orthogonality of spectral data indicative of a sampled output of the detector, to thereby enable digital processing of the sampled output corresponding to a single captured image to reconstruct the image of said at least part of the object with the resolution enhanced by said factor, wherein the optical processing includes processing the wavefront with a function of the following parameters: the factor k of the resolution enhancement, a number N of pixels in a field of view of the detector, a pixel pitch Δx of the detector, and a distance V between an imaging lens and the detector plane, the number N of pixels in the detector field of view is selected to satisfy a condition that: N=Mk+1, for a specific wavelength for which the aperture coding is designed, wherein M is an integer providing the value of N to be as close as possible to a number of pixels in the detector.