This paper considers the reconstruction of a shape from an object’s optical sectioning. To this end we describe three algorithms relying on the scalar optics model of light propagation of which the most involved is the deconvolution approach. This approach produces a sequence of deblurred images. We improve the deconvolution approach by suggesting a novel stopping criterion for the iterative process. The performance of the algorithms are illustrated by numerical experiments on microscopic images of biological cells.