Artificial Defocus for Displaying Markers in Microscopy Z-Stacks

Alessandro Giusti, Pierluigi Taddei, Cristina Magli, Giorgio Corani, Luca M. Gambardella, Luca Gianaroli

IEEE Transactions on Visualization and Computer Graphics, 2011. Honorable Mention award recipient at IEEE VIS.


As microscopes have a very shallow depth of field, Z-stacks (i.e. sets of images shot at different focal planes) are often acquired to fully capture a thick sample. Such stacks are viewed by users by navigating them through the mouse wheel. We propose a new technique of visualizing 3D point, line or area markers in such focus stacks, by displaying them with a depth-dependent defocus, simulating the microscope’s optics; this leverages on the microscopists’ ability to continuously twiddle focus, while implicitly performing a shape-from-focus reconstruction of the 3D structure of the sample. User studies confirm that the approach is effective, and can complement more traditional techniques such as color-based cues. We provide two implementations, one of which computes defocus in real time on the GPU, and examples of their application.



  title={Artificial Defocus for Displaying Markers in Microscopy Z-Stacks},
  author={Giusti, Alessandro and Taddei, Pierluigi and Corani, Giorgio and Gambardella, Luca and Magli, Cristina and Gianaroli, Luca},
  journal={Visualization and Computer Graphics, IEEE Transactions on},


We provide for research purposes only both software implementations described in the paper.


Basic interaction techniques

Complex interaction techniques: validating & correcting the segmentation of a 4-cell embryo

A ruler and protractor

Pointless toys