From 5dea74521422e5f79eee333a7aa3288a60e2876f Mon Sep 17 00:00:00 2001 From: Nick Tustison Date: Sun, 23 Aug 2026 08:26:33 -0700 Subject: [PATCH] ENH: Use new deep atropos. --- antspynet/utilities/white_matter_hyperintensity_segmentation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/antspynet/utilities/white_matter_hyperintensity_segmentation.py b/antspynet/utilities/white_matter_hyperintensity_segmentation.py index 3620f99..13bd663 100644 --- a/antspynet/utilities/white_matter_hyperintensity_segmentation.py +++ b/antspynet/utilities/white_matter_hyperintensity_segmentation.py @@ -473,7 +473,7 @@ def wmh_segmentation(flair, if white_matter_mask is None: if verbose: print("Calculate white matter mask.") - atropos = deep_atropos(t1, do_preprocessing=True, verbose=verbose) + atropos = deep_atropos([t1, None, None], do_preprocessing=True, verbose=verbose) white_matter_mask = ants.threshold_image(atropos['segmentation_image'], 3, 4, 1, 0) t1_preprocessed = None