1. A method of imaging a sample comprising: illuminating a sample spaced apart from an image sensor at a first distance with an illumination source; obtaining a hologram image of the sample from an image sensor with the sample spaced apart from the image sensor at the first distance; illuminating the sample spaced apart from an image sensor at a one or more distances different from the first distance with an illumination source; obtaining a hologram image of the sample from an image sensor with the sample spaced apart from the image sensor at the one or more distances different from the first distance; registering the hologram images of the sample obtained at the one or more distances and the hologram image of the sample obtained at the first distance; recovering lost phase information from the registered images; and reconstructing an amplitude or phase image of the sample based at least in part on the recovered lost phase information, wherein the hologram images of the sample are obtained without any lenses positioned between the illumination source and the image sensor.