A Network Flow Algorithm for Binary Image Reconstruction from Few Projections

Kees Joost Batenburg

Abstract

This paper introduces an iterative algorithm designed to reconstruct binary (black-and-white) images from a very limited number of projections, typically fewer than ten. By framing the reconstruction from two projection angles as a minimum cost network flow problem, the method achieves high accuracy and noise robustness while maintaining computational efficiency. The algorithm utilizes a dynamic weight map to enforce local smoothness and iteratively selects projection pairs to minimize data deviation. Experimental results on complex mechanical phantoms demonstrate superior speed and lower error rates compared to traditional linear programming and algebraic reconstruction techniques.

Introduction

In standard computed tomography (CT), hundreds of projections are required to generate high-quality images. However, in applications such as industrial non-destructive testing or specific medical imaging like angiography, the object of interest often consists of a single material (e.g., metal vs. air). This specialized field, known as Discrete Tomography, allows for the reconstruction of binary images from significantly fewer projections.

The primary challenge in this domain is that the problem is "severely underdetermined" when very few projections are available, leading to many possible images for the same data. Traditional methods like SIRT often produce blurry grayscale approximations, while Linear Programming (LP) approaches can be computationally expensive and sensitive to noise. This paper proposes a graph-theoretic approach that is both mathematically discrete and computationally efficient.

Methodology

The core of the proposed method is the insight that reconstructing a binary matrix from its row and column sums can be solved in polynomial time using network flow algorithms.

The Two-Projection Base and Network Flow

For any two projection angles, the algorithm defines a custom grid where each cell represents the intersection of two projection strips. Reconstructing the image on this grid is mapped to finding a flow of minimal cost in a directed graph. This formulation ensures that the resulting image is inherently binary, satisfying the discrete constraints of the problem.

Network flow graph formulation for the two-projection reconstruction problem.

Iterative Reconstruction and Weight Mapping

Since practical applications involve more than two projections, the algorithm solves a sequence of these two-projection subproblems. A critical component is the weight map, which is updated in each iteration based on the previous reconstruction. This map assigns costs to the edges in the network flow graph to encourage local smoothness and consistency with previously processed data. By adjusting these costs, the algorithm effectively bakes a preference for "clumped" pixels (spatial coherence) directly into the optimization process.

Angle Selection

To maximize information gain, the algorithm dynamically selects the next pair of angles where the current reconstruction shows the greatest deviation from the measured projection data. This heuristic ensures that the most informative projections are prioritized during the iterative refinement.

Experimental Evaluation

The performance of the Network Flow (NF) algorithm was evaluated using four simulated "phantom" images representing varying levels of topological complexity, such as a single solid object, a field of 50 ellipses, and complex mechanical parts like a turbine blade and a cylinder head.

The Turbine Blade phantom, representing a realistic industrial part used for evaluation.

Results and Discussion

The NF algorithm demonstrated significant advantages over the R-BIF (Linear Programming) approach in terms of both speed and accuracy:

  • Computational Speed: For a 300×300 "Single Object" phantom, the NF algorithm completed the reconstruction in 2.0 minutes, whereas the R-BIF approach required 9.2 minutes.
  • Reconstruction Accuracy: In the case of the "Turbine Blade" phantom, the NF algorithm resulted in only 108 pixel errors, compared to 214 errors for the R-BIF method.
  • Noise Robustness: The method proved resilient to noise, maintaining near-perfect visual quality even with a noise standard deviation of up to 2% of the average projection value.
  • Data Efficiency: High-quality reconstructions were achieved using as few as 5 to 10 projections, a regime where continuous methods like SIRT fail to produce usable results.

Conclusion

By leveraging the discrete nature of network flow algorithms, this paper provides a robust and efficient solution for binary image reconstruction from sparse projection data. The integration of a dynamic weight map allows the algorithm to incorporate spatial priors effectively. Future work may explore optimal angle selection strategies and the extension of this 2D framework into a native 3D network flow formulation.

Summary updated

Abstract

Tomography deals with the reconstruction of images from their projections. In this paper we focus on tomographic reconstruction of binary images (i.e., black-and-white) that do not have an intrinsic lattice structure from a small number of projections. We describe how the reconstruction problem from only two projections can be formulated as a network flow problem in a graph, which can be solved efficiently. When only two projections are used, the reconstruction problem is severely underdetermined and many solutions may exist. To find a reconstruction that resembles the original image, more projections must be used. We propose an iterative algorithm to solve the reconstruction problem from more than two projections. In every iteration a network flow problem is solved, corresponding to two of the available projections. Different pairs of projection angles are used for consecutive iterations. Our algorithm is capable of computing high quality reconstructions from very few projections. We evaluate its performance on simulated projection data and compare it to other reconstruction algorithms.
BibTeX
@inproceedings{batenburg2006network,
  author = {Kees Joost Batenburg},
  title = {{A Network Flow Algorithm for Binary Image Reconstruction from Few Projections}},
  booktitle = {Dgci},
  year = {2006},
  doi = {10.1007/11907350\_8},
}
Figure