Skip to content

Commit

Permalink
Issue with Registration and Threshold
Browse files Browse the repository at this point in the history
  • Loading branch information
bclenet committed Oct 17, 2023
1 parent 1ac7267 commit ecc4977
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion narps_open/pipelines/team_08MQ.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,14 +82,17 @@ 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')
threshold_white_matter.inputs.thresh = 1

# 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')
Expand Down

0 comments on commit ecc4977

Please sign in to comment.