Partition lenses for extended depth of field