-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathtbx_cfg_USwLesion.m
45 lines (40 loc) · 1.73 KB
/
tbx_cfg_USwLesion.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
function USwLtools = tbx_cfg_USwLesion
% MATLABBATCH Configuration file for toolbox 'USwL', i.e. 'Unified
% segmentation with lesion'.
%
% More details (and updates) can be found on:
% https://github.com/CyclotronResearchCentre/USwLesion
%_______________________________________________________________________
% Copyright (C) 2015 Cyclotron Research Centre
% Written by C. Phillips.
% Cyclotron Research Centre, University of Liege, Belgium
if ~isdeployed,
addpath(fullfile(spm('Dir'),'toolbox','USwLesion'));
end
%----------------------------------------------------------------------
% Setting up 'Utils' modules
%----------------------------------------------------------------------
USwLutils = cfg_choice;
USwLutils.tag = 'USwLutils';
USwLutils.name = 'US with Lesion Utilities';
USwLutils.help = {'Some utility functions for the US-with-Lesion tools.'
}';
USwLutils.values = { ... Fixing
tbx_scfg_Utils_FxLesMsk ... % lesion mask (small blobs + intensities)
tbx_scfg_Utils_FxMPM ... % qMRI/MPM, capping values [0 Max]
tbx_scfg_Utils_FxICVmsk ... % ICV mask
tbx_scfg_ParEx}; % Extracting parameters.
%----------------------------------------------------------------------
% Setting up main choices
%----------------------------------------------------------------------
USwLtools = cfg_choice;
USwLtools.tag = 'USwLtools';
USwLtools.name = 'US with Lesion Tools';
USwLtools.help = {
['Tools for the segmentation of MR images with lesions ',...
'based on the ''unified segementation'' approach.']
['One need to provide an (approximate) mask of the lesioned area(s)',...
'in order to use this tool!']
}';
USwLtools.values = {tbx_scfg_USwL tbx_scfg_MPMsmooth USwLutils};
end