Extending the depth of focus of imaging systems is a very important technology allowing the system incorporation into various applications, including inter alia medically related applications where elements, such as cameras, are to be inserted into the body in order to observe and detect problematic tissues; as well as ophthalmic industry including glasses for spectacles, contact lenses, intraocul