1. A method for generating a three-dimensional image, comprising: receiving a blurred two-dimensional image captured using an optic system; deconvoluting, using a processor, the blurred two-dimensional image using a point spread function for the optic system; generating a stack of non-blurred two-dimensional images, each non-blurred image having a z-axis coordinate; and constructing a three-dimensional image from the stack of two-dimensional images.