Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added many bugfixes, as well as DTI tracking functionally (using DTI&…
…Fibertools)
- Loading branch information
1 parent
a510e38
commit 3cbcbcc
Showing
81 changed files
with
2,190 additions
and
358 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
1.348 | ||
1.300 | ||
1.351 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
function varargout=ea_coregctmri_edgedetect_and_segment(options) | ||
% __________________________________________________________________________________ | ||
% Copyright (C) 2014 Charite University Medicine Berlin, Movement Disorders Unit | ||
% Andreas Horn | ||
|
||
if ischar(options) % return name of method. | ||
varargout{1}='Coregister postop-CT with preop-MRI (Edgedetection+Segment)'; | ||
varargout{2}={'SPM8','SPM12'}; | ||
varargout{3}=['0.6,0.4']; % suggestion for alpha-parameter. | ||
return | ||
end | ||
|
||
if ~exist([options.root,options.patientname,filesep,'c',options.prefs.prenii_unnormalized],'file') | ||
ea_nc_segment(options); | ||
end | ||
|
||
%% run standard coregistration | ||
|
||
options.usediffmr_coregct=['c',options.prefs.prenii_unnormalized]; | ||
|
||
ea_coregctmri_edgedetect(options); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
function varargout=ea_coregctmri_edgedetect_and_segment_imtbx(options) | ||
% __________________________________________________________________________________ | ||
% Copyright (C) 2014 Charite University Medicine Berlin, Movement Disorders Unit | ||
% Andreas Horn | ||
|
||
if ischar(options) % return name of method. | ||
varargout{1}='Coregister postop-CT with preop-MRI (Edgedetection+Segment, use ML imagetoolbox)'; | ||
if exist('edge.m','file') % check for imtbx. | ||
varargout{2}={'SPM8','SPM12'}; | ||
else | ||
varargout{2}={}; | ||
end | ||
varargout{3}=['0.9']; % suggestion for alpha-parameter. | ||
return | ||
end | ||
|
||
if ~exist([options.root,options.patientname,filesep,'c',options.prefs.prenii_unnormalized],'file') | ||
|
||
ea_nc_segment(options); | ||
end | ||
|
||
|
||
|
||
%% run standard coregistration | ||
|
||
options.usediffmr_coregct=['c',options.prefs.prenii_unnormalized]; | ||
|
||
ea_coregctmri_edgedetect_imtbx(options); |
Oops, something went wrong.