From ecc4977c90737eafde6fc659403aa309904cbe62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Boris=20Cl=C3=A9net?= Date: Tue, 17 Oct 2023 17:38:43 +0200 Subject: [PATCH] Issue with Registration and Threshold --- narps_open/pipelines/team_08MQ.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/narps_open/pipelines/team_08MQ.py b/narps_open/pipelines/team_08MQ.py index 43dee1bd..d9e87d45 100644 --- a/narps_open/pipelines/team_08MQ.py +++ b/narps_open/pipelines/team_08MQ.py @@ -82,6 +82,9 @@ def get_preprocessing(self): normalization_anat.inputs.fixed_image = Info.standard_image('MNI152_T1_2mm_brain.nii.gz') normalization_anat.inputs.transforms = ['Rigid', 'Affine', 'SyN'] normalization_anat.inputs.metric = ['MI', 'MI', 'CC'] + normalization_anat.inputs.metric_weight = [1.0 / 3.0, 1.0 / 3.0, 1.0 / 3.0] + normalization_anat.inputs.shrink_factors = [1, 1, 1] + normalization_anat.inputs.smoothing_sigmas = [0.0, 0.0, 0.0] # Threshold Node - create white-matter mask threshold_white_matter = Node(Threshold(), name = 'threshold_white_matter') @@ -89,7 +92,7 @@ def get_preprocessing(self): # Threshold Node - create CSF mask threshold_csf = Node(Threshold(), name = 'threshold_csf') - threshold_white_matter.inputs.thresh = 1 + threshold_csf.inputs.thresh = 1 # ErodeImage Node - Erode white-matter mask erode_white_matter = Node(ErodeImage(), name = 'erode_white_matter')