Computing System Matrix for OSEM and MLEM Iterative Image Reconstruction Algorithms

Resource Overview

This MATLAB program implements a function Generate_SystemMatrix that computes the system matrix for OSEM (Ordered Subsets Expectation Maximization) and MLEM (Maximum Likelihood Expectation Maximization) iterative image reconstruction algorithms. The function Generate_SystemMatrix(pixel) takes the image dimension (typically 64, 128, or 256) as input parameter - larger pixel values result in slower computation. The diedai-test file demonstrates a basic MLEM reconstruction implementation, which requires loading the SystemMatrix generated by Generate_SystemMatrix(128). Note: when running diedai-test, ensure the generated system matrix is saved as "SystemMatrix" to avoid errors.

Detailed Documentation

This documentation describes a MATLAB-based program for computing system matrices used in iterative image reconstruction algorithms. The core function Generate_SystemMatrix calculates the system matrix required by both OSEM and MLEM algorithms, which are widely used in medical imaging reconstruction. The function accepts the parameter 'pixel' representing the image dimension (commonly 64×64, 128×128, or 256×256 pixels). The computational complexity increases with larger pixel values due to the expanded matrix dimensions. The included diedai-test file provides a straightforward implementation of the MLEM reconstruction algorithm. This test script requires loading the system matrix generated by Generate_SystemMatrix(128), which must be precomputed and saved as "SystemMatrix.mat" for proper execution. The algorithm works by iteratively updating image estimates using expectation-maximization principles to maximize likelihood function. Additionally, the testsino file contains sample sinogram data representing projection measurements - essentially the input data for MLEM reconstruction that simulates Radon transform projections. These files collectively demonstrate complete workflow from system matrix generation to image reconstruction, providing practical examples for understanding MATLAB implementation details and operational procedures for iterative reconstruction algorithms. The system matrix generation typically involves modeling geometric relationships between image pixels and detector responses, while the reconstruction algorithms implement statistical optimization methods for noise reduction and image quality improvement.