An optical processor is presented for applying optical processing to a light field passing through a predetermined imaging lens unit. The optical processor comprises a pattern in the form of spaced apart regions of different optical properties. The pattern is configured to define a phase coder, and a dispersion profile coder. The phase coder affects profiles of Through Focus Modulation Transfer Function (TFMTF) for different wavelength components of the light field in accordance with a predetermined profile of an extended depth of focusing to be obtained by the imaging lens unit. The dispersion profile coder is configured in accordance with the imaging lens unit and the predetermined profile of the extended depth of focusing to provide a predetermined overlapping between said TFMTF profiles within said predetermined profile of the extended depth of focusing.