etspy.recon.dart_segment(rec: ndarray, thresholds: list | ndarray, gray_vals: list | ndarray) → ndarray[source] Segmentation step for DART Reconstruction. Parameters:¶ rec: ndarray¶Tomographic reconstruction. thresholds: list | ndarray¶Threshold values for segmentation. gray_vals: list | ndarray¶Grayscale values to assign the segmented regions. Returns:¶ segmented – Segmented version of the reconstruction. Return type:¶ ndarray