---
title: "FIB-SEM: From Slices to Volume Interactive Lab | Sandbox Physics"
description: "When can clear slices produce a wrong volume?"
canonical_url: "https://sandboxphysics.com/labs/fib-sem-volume/"
language: "en"
page_type: "lab"
alternate_languages:
  zh-CN: "https://sandboxphysics.com/zh/labs/fib-sem-volume/"
last_modified: "2026-10-27"
---

E20 · Serial volume electron microscopy

# FIB-SEM: From Slices to Volume

**When can clear slices produce a wrong volume?** When the slices do not sample the depth properly: some depths are skipped, or the stack is built with the wrong slice spacing. A crisp image shows only that contrast within each slice is good. Registration can correct drift you have measured, but it cannot bring back a slice that is missing or was destroyed.

Mill away a thin layer with the ion beam, image the new face with backscattered electrons, and repeat. Adjust the section spacing, dwell, drift and curtaining, then align and threshold the recorded counts to build a calibrated volume.

> Interactive simulation: open this page in a web browser to change the parameters and run the model.

Model assumptions

The angle between the SEM and FIB columns is 54 degrees, following the ZEISS Crossbeam convention. The ion beam mills a face perpendicular to its own axis, so the SEM sees that face at an angle and the image height is foreshortened; the reconstruction uses calibrated face coordinates. The specimen is advanced schematically so the viewed face stays in place. The BSE information length is assumed to be 8 nm, and sections can be 20 to 120 nm thick. Curtaining is an assumed sinusoidal change in gain, not a sputter-yield or redeposition calculation. The electron beam is blanked during milling, and the ion beam is blanked during imaging. Lamella lift-out, a comparison of gallium and xenon ions, ion damage, milling time and calibration to real materials are not modeled. The SEM current is fixed at 50 pA, and each image has 48 by 48 pixels at a 25 nm face pitch, a 1200 nm field and 960 nm total depth. The synthetic specimen is a sphere plus a curved tube, with three fiducial marks near the edge that run through the whole depth. The BSE response is an assumed linear mix: 0.18 for background, plus 0.44 of contrast for the occupied region and 0.65 for the fiducials, with 8 percent detector efficiency. It does not identify materials or represent a calibrated biological structure. The forward model averages four normalized exponential depth bins, adds horizontal drift and cutting artefacts, then stores electron counts drawn from a fixed random seed: Poisson below 40 expected counts and a normal approximation above. The fixed linear color scale clips only the display. The reconstruction receives only the stored counts and calibration metadata, never the known specimen or the imposed drift. Registration cross-correlates the recorded fiducials with those in the first recorded image, in whole-pixel horizontal steps up to eight pixels either way. Vertical, affine and subpixel shifts are not corrected. A threshold segments the central 700 nm square and leaves out the fiducials. Missing layers and pixels with no data stay marked as unknown. Each mask becomes a slab with its recorded thickness; nothing is interpolated, and there is no tomography solver. The known input, shown separately, is used only to check overlap and volume error on the same sampling grid. The cumulative incident dose adds up the exposures of each new face; it is not the dose received by any one surviving voxel. The presentation phase and camera motion never change the stored data.

Physics tutorial

## FIB-SEM: From Slices to Volume

**Background** A FIB-SEM mills away a thin layer with an ion beam, images the new face with backscattered electrons, and repeats. You adjust the section spacing, dwell, drift and curtaining, then align and threshold the recorded counts into a calibrated volume.

**Why it matters** The task is to reach at least 80 percent overlap with the known sampled input, at most 12 percent volume error, at least 95 percent recorded depth coverage and at least 12 mean counts per central pixel. Keep the actual depth spacing turned on, and keep sections no thicker than 25 nm.

Start with the essentials

- **Focus question**: When can clear slices produce a wrong volume?
- **One-sentence intuition**: A sharp face image shows detail across the face, not what lies between the cuts. Registration can fix drift it measures, but it cannot bring back a section that was destroyed or never recorded, and the right voxel spacing matters as much as a good segmentation.

### Core mathematical model

#### Expected electron counts

$$
N_0=\eta\frac{I\tau}{e}
$$

The beam current and dwell time set the count scale, and the BSE response at each point scales it further.

#### Depth sampling

$$
\begin{aligned}\mathcal T&=\sum_{j=0}^{3}w_j\rho_j\\\rho_j&=\rho(x,y,z_j)\\z_j&=z+(j+\tfrac12)\ell\\w_j&=\frac{e^{-j}-e^{-j-1}}{1-e^{-4}}\end{aligned}
$$

The signal averages four depth bins below the face, weighted by an assumed exponential fall-off. This is a fixed numerical sum, not an electron transport calculation.

#### Volume from the recorded counts

$$
\begin{aligned}\widehat V&=p^2\sum_k h_k\sum_{x,y}\widehat M_k(x,y)\\\mathrm{IoU}&=\frac{|\widehat M\cap M_*|}{|\widehat M\cup M_*|}\end{aligned}
$$

The threshold mask comes from the recorded counts. Each slab has its actual thickness, including the thinner last section. Unknown voxels add no made-up volume, and the overlap with the known input is a separate check.

### Common difficulties

#### A reconstruction is not the known input

**Typical misconception** The reference shape is right there, so the algorithm must have recovered it.

**Better mental model** The gold reference is used only for a separate check. The teal reconstruction comes from thresholding the recorded counts, so its noise, damage and gaps are still there.

#### Smaller voxels do not create resolution

**Typical misconception** If I set every voxel edge to 25 nm, the volume gets the same resolution in every direction.

**Better mental model** Changing the metadata can distort the shape and volume, and it adds no measured detail. Use the real section spacing.

### Run the experiment

1. 01

   #### Predict what the cuts miss

   Compare the coarse-depth preset with the Resolve the volume preset. Look at the face image, the orthogonal reslices and the known input.

   **What to observe:** A sharp face image cannot show structure that lies between the cuts.

2. 02

   #### Reprocess the same data

   Load the Drifting stack preset, then turn on Register counted fiducials. Change the threshold and the depth-spacing calibration.

   **What to observe:** These controls reprocess the same stored counts, so a different reconstruction does not mean new data were taken.

3. 03

   #### Look at a missing layer

   Load the Missing sections preset and select the fifth stored position. Look at the dark image tile and the row marked unknown in the reslice.

   **What to observe:** A missing layer means there are no data there, not that the specimen is empty.

4. 04

   #### Reach the target

   Make the sections thinner, reduce the artefacts, raise the dwell for enough counts, register the measured fiducials and turn on actual depth spacing. Then press Check target.

   **What to observe:** The target checks overlap, volume error, depth coverage and whether there are enough counts.

Physical conclusion

Build a reconstructed shape only from recorded sections, with the correct spacing and with every gap clearly marked.

Fields & matter · Starter path

## From a field to an electron microscope

Map an electric field and steer a charged particle. Then find the electron's wavelength and use electron beams to see a crystal and a surface.

[Start here → **Make an Electric Field Visible** Move the probe around a dipole and check that the field always points downhill on the potential landscape. Observe · 8 min](https://sandboxphysics.com/labs/electric-field/)

1. [1 Make an Electric Field Visible](https://sandboxphysics.com/labs/electric-field/)
2. [2 A Charge Bending through Fields](https://sandboxphysics.com/labs/charged-particle/)
3. [3 Electron Wavelength & Voltage](https://sandboxphysics.com/labs/electron-wavelength/)
4. [4 Electron Diffraction & Reciprocal Space](https://sandboxphysics.com/labs/electron-diffraction/)
5. [5 TEM Bright Field, Dark Field & SAED](https://sandboxphysics.com/labs/tem-mode-selector/)
6. [6 SEM Secondary-Electron Topography](https://sandboxphysics.com/labs/sem-topography/)

[View the full path →](https://sandboxphysics.com/topics/fields-and-matter/#starter-path)
