Skip to main content
NIHPA Author Manuscripts logoLink to NIHPA Author Manuscripts
. Author manuscript; available in PMC: 2016 Nov 8.
Published in final edited form as: Nat Methods. 2013 Sep 29;13(10):807–809. doi: 10.1038/nmeth.3991

Micro-Magellan: open-source, sample-adaptive, acquisition software for optical microscopy

Henry Pinkard 1,2,3, Nico Stuurman 4,5, Kaitlin Corbin 1,2, Ronald Vale 4,5, Matthew F Krummel 1,2
PMCID: PMC5100821  NIHMSID: NIHMS826715  PMID: 27684577

To the Editor

The past decade has seen an explosion of new techniques in optical microscopy with the potential to reveal the complex orchestra of biological processes across large scales of space and time1. Scalable usability of any new optical technique requires widespread dissemination of hardware and software for data acquisition and of software for data analysis. Commercial software and, more recently, open-source software packages have begun to meet many needs for visualization and analysis of terabyte-sized imaging volumes24. As the options for data analysis continue to expand and evolve, it becomes increasingly difficult to make ideal use of the full capabilities of widefield, confocal, and multiphoton microscopes already present in many labs because of a lack of automated and customizable acquisition software5.

To fill this gap, we have developed μMagellan, open-source software (Supplementary Note 1) for reproducible, high-throughput imaging of biological samples across heterogeneous scales of space and time. μMagellan provides several high-level automation capabilities for the collection of tiled 3D volumes (Supplementary Note 2) that dramatically reduce the amount of time and effort researchers must expend to perform complex experiments. Because it utilizes the hardware abstraction layer of μManager6, μMagellan can be used with a diverse set of components or complete microscopes from different vendors (Supplementary Note 3), enabling many new types of experiments with thousands of existing instruments. In addition, data written by μMagellan can be read directly or imported easily by several commercial and open-source software packages for the visualization and analysis of large volumetric imaging data, including BigDataViewer, Vaa3D/TeraFly, and Imaris (Supplementary Note 4 and Supplementary Video 1).

μMagellan enables users to efficiently map biological samples of unusual shape and unknown spatial organization in three dimensions with ‘explore acquisitions’. These present an interactive Google Maps–like user interface that enables fast sample navigation and high-resolution tiled imaging in user-specified shapes and directions (Fig. 1a and Supplementary Video 2). μMagellan’s multiresolution pyramid file format (Supplementary Note 5) allows users to pan and zoom through 2D slices of samples in real time. After sample exploration, volumes can be specified for conventional acquisition of 3D cuboids using tiled z-stacks, or user-generated surfaces can be specified to bound acquisition volumes of arbitrary shape (Fig. 1b,c and Supplementary Videos 3 and 4). Surfaces are interpolated from user-specified points using an algorithm based on Delaunay triangulations, which allows both arbitrary precision and sublinear scaling of calculation time with the number of points (Supplementary Fig. 1 and Supplementary Note 6).

Figure 1.

Figure 1

Overview of μMagellan’s capabilities for exploring samples and running automated, sample-adaptive acquisitions. (a) ‘Explore acquisitions’ present a simple click-and-drag interface for acquisition of tiled high-resolution images. A multiresolution file format allows image panning and zooming in real time. Upper and lower focus limits can be set to collect tiled z-stacks. (1), (2), and (3) indicate sequential acquisitions, beginning with exploration of a 2D slice and subsequently tracing the branching airways in a mouse lung in 3D without imaging irrelevant areas of the sample. (b) The user can create interpolated surfaces to encode sample morphology (the cortex of a mouse popliteal lymph node is shown here) by marking points on 2D slices to build a 3D point distribution, which is then interpolated into a smooth surface. (c) Two surfaces used to bound the acquisition volume of an airway (white dashed lines) in a 400-mm lung slice, compared to the entire bounding cuboidal volume. (d) Surfaces and covaried settings used to set gradients of increasing excitation power at different xy positions, which begin at the surface marking the top of the sample for each position. Red indicates higher excitation power.

In addition to allowing for complex, non-cuboidal imaging volumes, μMagellan permits surfaces to be used to automatically control imaging parameters on the basis of sample morphology using covariant pairings. These pairings enable automated variation of a particular hardware setting (such as excitation power, detector gain, exposure, etc.) based on either another hardware setting or, in relation to sample morphology, a calculation involving the geometry of a particular surface (Fig. 1d, Supplementary Note 7, and Supplementary Video 5). Coupling morphological information with acquisition settings in such a way facilitates reproducibility and comparisons across heterogeneous biological samples.

μMagellan is designed to be able to adapt to dynamic biological processes and allows almost all settings (such as spatial regions, time point spacing, automated excitation calculations, etc.) to be altered during acquisition (Supplementary Note 8 and Supplementary Video 6). To compensate for focus drift, which often occurs during long time-lapse experiments, μMagellan provides an algorithm for automated drift compensation based on a designated fiducial channel (Supplementary Fig. 2 and Supplementary Note 9).

Finally, μMagellan provides automation to run multiple acquisitions in series or in parallel. This can be used, for example, to image multiple tissue sections sequentially on a single slide for hours or days at a time, or to monitor multiple sites in a sample or multiple organs from the same animal simultaneously to compare conditions while minimizing biological variability.

μMagellan fills an important niche in the open-source bioimaging software ecosystem by empowering many existing microscopes for automated, reproducible, high-throughput applications. Its open-source code also makes it an ideal platform for the development and dissemination of new technologies, thereby increasing the ease with which they can be put into practice to reveal the mysteries of biological systems. μMagellan comes bundled with μManager and can be accessed in the plug-ins menu under “Acquisition tools.” The μMagellan source code and user guide can be found in the supplementary material (Supplementary Software and Supplementary Software Guide). The latest versions of these materials can be found at https://micro-manager.org/wiki/MicroMagellan.

Supplementary Material

Figure 1
Figure 2
MagellanUserGuide
Movie S1
Download video file (23.6MB, mov)
Movie S2
Download video file (24MB, mov)
Movie S3
Download video file (56.7MB, mov)
Movie S4
Download video file (97.9MB, mov)
Movie S5
Download video file (22.6MB, mov)
Movie S6
Download video file (28.3MB, mov)
Notes

Acknowledgments

We thank K. Thorn, M. Tsuchida, C. Weisiger, J.O. Edwards III, and M. Foxxe for helpful conversations during development; M. Headley for beta testing; E. Oswald for figure data; T. Pietzsch, C. Rueden, and G. Iannello for help with integration with BigDataViewer, FIJI, and Vaa3d/TeraFly, respectively; and C. Norberg for support. This work was supported in part by the US National Institutes of Health (grants R01EB007187 (to R.V.), R01AI52116 (to M.F.K.), and U19A1077439-06 (to M.F.K.)) and the Sandler Basic Asthma Research Center (M.F.K.).

Footnotes

Note: Any Supplementary Information and Source Data files are available in the online version of the paper.

AUTHOR CONTRIBUTIONS

H.P. and M.F.K. conceived of the project. H.P. created the software with guidance from N.S. H.P. and K.C. performed beta testing. H.P., K.C., and M.F.K. wrote the manuscript. H.P. and K.C. wrote the user guide and recorded screencasts. M.F.K. and R.V. provided administrative and financial support.

COMPETING FINANCIAL INTERESTS

The authors declare competing financial interests: details are available in the online version of the paper.

References

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Supplementary Materials

Figure 1
Figure 2
MagellanUserGuide
Movie S1
Download video file (23.6MB, mov)
Movie S2
Download video file (24MB, mov)
Movie S3
Download video file (56.7MB, mov)
Movie S4
Download video file (97.9MB, mov)
Movie S5
Download video file (22.6MB, mov)
Movie S6
Download video file (28.3MB, mov)
Notes

RESOURCES