From e1e402c06322cef602bbf1a8ca301d97139f28c1 Mon Sep 17 00:00:00 2001 From: andreashorn Date: Sun, 22 May 2016 14:47:22 +0200 Subject: [PATCH] Small edits in nls work on ants_multimodal --- connectomics/ea_isolate_fa.m | 2 +- ea_normalize_ants_multimodal.m | 2 +- ext_libs/dcm2nii/ea_dcm2nii.m | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/connectomics/ea_isolate_fa.m b/connectomics/ea_isolate_fa.m index 6a7543a69..90376dbea 100644 --- a/connectomics/ea_isolate_fa.m +++ b/connectomics/ea_isolate_fa.m @@ -27,7 +27,7 @@ function ea_isolate_fa(directory,options) % Constants DTI parametersDTI=[]; -parametersDTI.BackgroundThreshold=150; +parametersDTI.BackgroundThreshold=120; parametersDTI.WhiteMatterExtractionThreshold=0.10; parametersDTI.textdisplay=true; diff --git a/ea_normalize_ants_multimodal.m b/ea_normalize_ants_multimodal.m index 57c66eb9b..36549e5f9 100644 --- a/ea_normalize_ants_multimodal.m +++ b/ea_normalize_ants_multimodal.m @@ -30,7 +30,7 @@ usebrainmask=1; directory=[options.root,options.patientname,filesep]; - +options.coregmr.method=2; % hard-code to ANTs for now here. cnt=1; if usebrainmask diff --git a/ext_libs/dcm2nii/ea_dcm2nii.m b/ext_libs/dcm2nii/ea_dcm2nii.m index f6b844b8a..18f74a62d 100644 --- a/ext_libs/dcm2nii/ea_dcm2nii.m +++ b/ext_libs/dcm2nii/ea_dcm2nii.m @@ -25,5 +25,7 @@ function ea_dcm2nii(inputimage) delete([pth,filesep,'o',fn,ext]); movefile([pth,filesep,'co',fn,ext],inputimage); catch + try movefile([pth,filesep,'c',fn,ext],inputimage); + end end