Systems and methods for receiving a blurred two-dimensional image captured using an optic system. The blurred two-dimensional image is deconvoluted using a point spread function for the optic system. A stack of non-blurred two-dimensional images is generated, each non-blurred image having a z-axis coordinate. A three-dimensional image is constructed from the stack of two-dimensional images.