etspy.recon.run_dart(sino: ndarray, iters: int, dart_iters: int, p: float, thresholds: list | ndarray, gray_levels: list | ndarray, cfg: dict, vol_geom: dict, proj_geom: dict) ndarray[source]

Run discrete algebraic reoncsturction technique (DART) algorithm.

Adapted from pseudo-code published in: K. J. Batenburg and J. Sijbers, “DART: A Practical Reconstruction Algorithm for Discrete Tomography,” doi: 10.1109/TIP.2011.2131661.

Parameters:
sino: ndarray

Sinogram of shape (nangles, ny)

iters: int

Number of iterations for the SART reconstruction

dart_iters: int

Number of iterations for the DART reconstruction

p: float

Probability for free pixel determination

thresholds: list | ndarray

Thresholds for DART reconstruction

gray_levels: list | ndarray

Gray levels for DART reconstruction

cfg: dict

ASTRA algorithm configuration

vol_geom: dict

ASTRA volume geometry

proj_geom: dict

ASTRA projection geometry

Returns:

Reconstruction of input sinogram

Return type:

ndarray