Apparatus and method for image pickup with an increased depth of field