Real-time segmentation for tomographic imaging

Richard Schoonhoven, Jan-Willem Buurlage, Daniël Maria Pelt, Kees Joost BatenburgMLSP 2020 · OpenReview

Abstract

In tomography, reconstruction and analysis is often performed once the acquisition has been completed due to the computational cost of the 3D imaging algorithms. In contrast, real-time reconstruction and analysis can avoid costly repetition of experiments and enable optimization of experimental parameters. Recently, it was shown that by reconstructing a subset of arbitrarily oriented slices, real-time quasi-3D reconstruction can be attained. Here, we extend this approach by including real-time segmentation, thereby enabling real-time analysis during the experiment. We propose to use a convolutional neural network (CNN) to perform real-time image segmentation and introduce an adapted training strategy in order to apply CNNs to arbitrarily oriented slices. We evaluate our method on both simulated and real-world data. The experiments show that our approach enables real-time tomographic segmentation for real-world applications and outperforms standard unsupervised segmentation methods.

Introduction

In traditional X-ray CT and electron microscopy, the standard workflow is "scan now, look later." Because full 3D reconstruction is computationally expensive, researchers often wait hours or days to see their results. If a sample moves or an experimental parameter is incorrect, the error is not discovered until the experiment is over, leading to costly repetitions.

Comparison of traditional, RECAST3D, and the proposed real-time analysis workflows.

While "quasi-3D" reconstruction frameworks like RECAST3D allow users to view arbitrary 2D slices in real-time, automated analysis has remained a bottleneck. Simple methods like Otsu’s thresholding often fail because real-time reconstructions are typically "noisy" and full of artifacts. This paper bridges that gap by integrating intelligent, real-time segmentation into the live imaging pipeline.

Methodology

The proposed approach combines efficient reconstruction with a deep-learning-based segmentation plugin. The key components include:

  • Quasi-3D Reconstruction: Instead of reconstructing a full 3D volume, the system uses filtered backprojection (FDK) to compute only specific 2D slices requested by the user on the fly.
  • MS-D Network: The Mixed-Scale Dense (MS-D) network architecture is utilized for its efficiency. It requires significantly fewer parameters than standard architectures like U-Net, enabling real-time inference (~30ms per slice) on a GPU.
  • Omnidirectional Training: To support arbitrary user-selected views, the authors introduced a novel training strategy. Unlike standard CNNs trained on single-axis slices, this model is trained on slices extracted at random 3D orientations, ensuring accuracy regardless of the viewing angle.

Experimental Results

The method was evaluated on simulated datasets (fiber-spheres and fiber-containers) and a real-world dynamic X-ray CT dataset of a dissolving tablet in gel.

Visual results showing (a, b) 3D renderings of simulated data, (c) a noisy real-time reconstructed slice, and (d) the resulting CNN segmentation.

Key Findings

  • Omnidirectional Superiority: On the fiber-sphere test, the omnidirectionally trained network maintained an F1-score of 0.9989 on random orientations. In contrast, a unidirectional network's performance plummeted to 0.6857 when tested on off-axis slices.
  • Artifact Robustness: Real-time FDK reconstructions are notoriously messy. The CNN effectively learns to distinguish between actual features and the streak noise artifacts that typically trip up unsupervised algorithms.
  • Real-world Feasibility: In the dissolving tablet experiment, the pipeline processed batches of 60 projections every 170ms. This allowed for a live, segmented view of air bubbles forming and moving in real-time, with quality comparable to computationally expensive offline reconstructions.

Conclusion and Future Work

This work demonstrates that real-time tomographic segmentation is feasible for real-world applications and significantly outperforms traditional unsupervised methods. However, a current limitation is the training bottleneck: generating ground truth data still requires slow, high-quality offline reconstructions. Future research will explore improving accuracy by incorporating 3D spatial context from neighboring slices and investigating the generalization of trained models across different sample morphologies.

Summary updated

Abstract

In tomography, reconstruction and analysis is often performed once the acquisition has been completed due to the computational cost of the 3D imaging algorithms. In contrast, real-time reconstruction and analysis can avoid costly repetition of experiments and enable optimization of experimental parameters. Recently, it was shown that by reconstructing a subset of arbitrarily oriented slices, real-time quasi-3D reconstruction can be attained. Here, we extend this approach by including realtime segmentation, thereby enabling real-time analysis during the experiment. We propose to use a convolutional neural network (CNN) to perform real-time image segmentation and introduce an adapted training strategy in order to apply CNNs to arbitrarily oriented slices. We evaluate our method on both simulated and real-world data. The experiments show that our approach enables realtime tomographic segmentation for real-world applications and outperforms standard unsupervised segmentation methods.
BibTeX
@inproceedings{schoonhoven2020real,
  author = {Richard Schoonhoven and Jan-Willem Buurlage and Daniël Maria Pelt and Kees Joost Batenburg},
  title = {{Real-time segmentation for tomographic imaging}},
  booktitle = {MLSP},
  year = {2020},
  url = {https://openreview.net/forum?id=5TAL8pO7h7},
}
Figure