Hostname: page-component-77f85d65b8-8wtlm Total loading time: 0 Render date: 2026-03-28T22:01:13.939Z Has data issue: false hasContentIssue false

Okapi-EM: A napari plugin for processing and analyzing cryogenic serial focused ion beam/scanning electron microscopy images

Published online by Cambridge University Press:  27 March 2023

Luís M. A. Perdigão*
Affiliation:
Artificial Intelligence and Informatics, The Rosalind Franklin Institute, Didcot, UK
Elaine M. L. Ho
Affiliation:
Artificial Intelligence and Informatics, The Rosalind Franklin Institute, Didcot, UK
Zhiyuan C. Cheng
Affiliation:
Artificial Intelligence and Informatics, The Rosalind Franklin Institute, Didcot, UK School of Chemistry, University of Edinburgh, Edinburgh, UK
Neville B.-Y. Yee
Affiliation:
Artificial Intelligence and Informatics, The Rosalind Franklin Institute, Didcot, UK
Thomas Glen
Affiliation:
Structural Biology, The Rosalind Franklin Institute, Didcot, UK
Liang Wu
Affiliation:
Structural Biology, The Rosalind Franklin Institute, Didcot, UK Division of Structural Biology, Wellcome Centre for Human Genetics, University of Oxford, Oxford, UK
Michael Grange
Affiliation:
Structural Biology, The Rosalind Franklin Institute, Didcot, UK Division of Structural Biology, Wellcome Centre for Human Genetics, University of Oxford, Oxford, UK
Maud Dumoux
Affiliation:
Structural Biology, The Rosalind Franklin Institute, Didcot, UK
Mark Basham
Affiliation:
Artificial Intelligence and Informatics, The Rosalind Franklin Institute, Didcot, UK Diamond Light Source, Didcot, UK
Michele C. Darrow
Affiliation:
Artificial Intelligence and Informatics, The Rosalind Franklin Institute, Didcot, UK
*
Corresponding author: Luís M. A. Perdigão; Email: luis.perdigao@rfi.ac.uk
Rights & Permissions [Opens in a new window]

Abstract

An emergent volume electron microscopy technique called cryogenic serial plasma focused ion beam milling scanning electron microscopy (pFIB/SEM) can decipher complex biological structures by building a three-dimensional picture of biological samples at mesoscale resolution. This is achieved by collecting consecutive SEM images after successive rounds of FIB milling that expose a new surface after each milling step. Due to instrumental limitations, some image processing is necessary before 3D visualization and analysis of the data is possible. SEM images are affected by noise, drift, and charging effects, that can make precise 3D reconstruction of biological features difficult. This article presents Okapi-EM, an open-source napari plugin developed to process and analyze cryogenic serial pFIB/SEM images. Okapi-EM enables automated image registration of slices, evaluation of image quality metrics specific to pFIB-SEM imaging, and mitigation of charging artifacts. Implementation of Okapi-EM within the napari framework ensures that the tools are both user- and developer-friendly, through provision of a graphical user interface and access to Python programming.

Information

Type
Research Article
Creative Commons
Creative Common License - CCCreative Common License - BY
This is an Open Access article, distributed under the terms of the Creative Commons Attribution licence (http://creativecommons.org/licenses/by/4.0), which permits unrestricted re-use, distribution and reproduction, provided the original article is properly cited.
Copyright
© The Author(s), 2023. Published by Cambridge University Press
Figure 0

Figure 1. View of the napari application highlighting the Okapi-EM plugin (green rectangle at right), and the currently available tools (pink rectangle at right). Each Okapi-EM plugin has its own tab with appropriate options for its use displayed. See Supplementary Figure S1 for a detailed view and description of the options available in each plugin.

Figure 1

Table 1. Types of transformations that are commonly used to correct distortions from different volumetric electron microscopy techniques.

Figure 2

Figure 2. Nonphysical distortion in the alignment process if the modes of transformation are not appropriately limited. (a) Original SEM image of yeast cells. (b) Artificially distorted image after a shearing transformation was applied to the original image. A shear factor of 0.15 was selected for visibility. (c) Feature points found in (b) using SIFT, with two feature-dense regions highlighted with circle and triangle markers. (d) Possible alignment result when the modes of transformation are not restrained, where even though the feature-rich regions are well-aligned, a nonphysical rotation is introduced. Data is FIB-SEM of yeast, available at EMPIAR with ID 11416.

Figure 3

Figure 3. Alignment results and comparison between Okapi-EM, TrakEM2, and Fiji Linear Stack Alignment with SIFT (a) Cross-sectional views of SEM image stack of yeast cells (109 slices along z direction, slice size 20.7 × 13.8 μm2) are obtained. (b–i) Cross-sectional view of a 11.2 × 3.7 μm2 area at y = 2 μm of the unaligned stack and the aligned stacks using Okapi-EM alignment with RANSAC and {translate, shear x, stretch y} selected, Fiji plugin TrakEM2 with rigid transformation, similarity transformation, or affine transformation selected, respectively, and Fiji plugin Linear Stack Alignment with rigid transformation, similarity transformation, or affine transformation selected respectively. (j–q), Cross-sectional view of a 15.0 × 3.7 μm2 area at y = 11 μm of the aligned stacks using the three aforementioned alignment methods and settings respectively. Data is EMPIAR-11416. In both Fiji plugins, rigid transformation allows translation and rotation. Similarity transformation allows translation, rotation, and scaling. Affine transformation is defined as shown in Supplementary Figure S2. Details about the rendering of the cross-section images is detailed in Supplementary Figure S8.

Figure 4

Figure 4. (a–f) SEM images and plots illustrating the charge artifact removal algorithm on a lipid droplet from a yeast dataset. Data is EMPIAR-11416. (a) SEM image of a lipid droplet within a yeast cell (image size 6.75 × 1.35 μm2). Arrows indicate a scanning line of interest, with its signal profile in (c–e) as blue line. Red rectangle represents data region where signal was averaged (width set by the nlinesavaerage parameter) resulting in signal profile in (c) as orange line. (b) Annotation image of the charge center, corresponding to the charging artifact in Figure (a). Green line in plot (c) is the line profile of the annotation along the row of interest (arbitrary units). (d) Line profiles describing the background corrected signal (blue line) and the optimized functions $ {f}_{\mathrm{left}} $ and $ {f}_{\mathrm{right}} $, (red and purple) respectively. (e) Line profiles of the uncorrected signal (blue line) and corrected signal (brown line). (g–i) SEM images illustrating charge artifact suppression on myelinated sheaths found in mouse brain (image size 20.7 × 10.3 μm2). Data is EMPIAR-11415. (g) Original SEM image displaying copious amounts of charging. (h) SEM image with overlaid segmentation of charging centers and extending to complete rings of myelin sheaths. (i) Result after applying filter with default parameters.

Figure 5

Figure 5. Calibration dataset of polystyrene beads used to calculate the gold-standard two-image FRC. These images were taken at 90° SEM angle. A region-of-interest (blue box) covering 2 × 2 μm2 was used for the calibration, where the average one-image FRC and two-image FRC were calculated for these regions at all pixel sizes. Scale bars represent 2 μm.

Figure 6

Figure 6. Calibration of the one-image FRC measurement to the gold-standard two-image FRC. (a) Two-image FRC curve and one-image FRC curves before and after calibration for the image pair at 4.5 nm pixel size at 52° SEM angle. (b) $ {r}_{\mathrm{co}1}/{r}_{\mathrm{ref}} $ versus $ {r}_{\mathrm{co}1} $ scatter plot (blue dots) and calibration curve $ {r}_{\mathrm{co}1}/{r}_{\mathrm{ref}}=2.067+0.099\log \left(0.085{r}_{\mathrm{co}1}\right) $, where $ {r}_{\mathrm{co}1} $ is the average resolution measured from the one-image FRC for the image pair (Figure a, normalized frequency value at the location the curve crosses the correlation cutoff line of 1/7), and $ {r}_{\mathrm{ref}} $ is the resolution from the gold-standard two-image FRC measured from the image pair. Calibration shifted the uncalibrated one-image FRC curves along the frequency axis to match the two-image FRC curves, ensuring that the resolution measurement for the one-image FRC matches the gold standard.

Figure 7

Figure 7. Validation of Quoll resolution measurements compared to physical features of known sizes in HeLa cells. Images were taken with 6.745 nm pixel size at 52° SEM angle. Nuclear pore complexes (a,b) of 120 nm diameter were clearly resolved in the images, as indicated by the arrows in (b), and the resolution in this region was estimated as better than the resolvable features. Similarly, in (c) and (d), centrosomes of 200 nm diameter could be resolved from the images (indicated by the arrow in d), and resolution was better than the size of the centrosomes. (a,c) A resolution heatmap is overlaid onto regions of the image showing nuclear pore complexes and centrosomes respectively, where the colors represent the resolution values of that local region and numbers are the local resolution values in nm calculated on the respective rectangular regions. (b,d) are the zoomed-in regions indicated in (a) and (c) with a red square, with arrows indicating the position of the nuclear pore complexes and centrosomes, respectively. Data is EMPIAR-11419.

Figure 8

Table 2. Summary statistics of resolution distribution measured from different tile sizes.

Supplementary material: File

Perdigão et al. supplementary material

Perdigão et al. supplementary material 1

Download Perdigão et al. supplementary material(File)
File 3 MB

Perdigão et al. supplementary material

Perdigão et al. supplementary material 2

Download Perdigão et al. supplementary material(Video)
Video 12.3 MB

Perdigão et al. supplementary material

Perdigão et al. supplementary material 3

Download Perdigão et al. supplementary material(Video)
Video 14.8 MB