Skip to content

Commit

Permalink
Improve help
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristophePhillips committed Feb 4, 2019
1 parent 4ced161 commit b014ad3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions crc_ExtractParam_qMRIs.m
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
% .N_c3 : #voxels in segmented lesion
% .N_intersec : #voxels in both segmented and lesion mask
% .N_union : #voxels in segmented and/or lesion mask
% .tissueVol : structu with volumic information (in liter or %)
% .tissueVol : structure with volumic information (in liter or %)
% .volumes : volumes of 3 or 4 tissue classes
% .tiv : total intra cranial volume
% .gmv : total GM volume
Expand Down Expand Up @@ -221,8 +221,8 @@
GMFrac = gmv/tiv*100; % expressed in percentage
WMFrac = wmv/tiv*100; % expressed in percentage
if ncImg ==4
LesFrac = volumes.litres(3)/tiv*100; % expressed in percentage
LesFracWM = volumes.litres(3)/wmv*100; % expressed in percentage
LesFrac = lesv/tiv*100; % expressed in percentage
LesFracWM = lesv/wmv*100; % expressed in percentage
end

tissueVol = struct(...
Expand Down
2 changes: 1 addition & 1 deletion crc_fix_ICV.m
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
function fn_msk = crc_fix_ICV(fn_msk,opt)
% Fixing a mask image, e.g. an intracranial volume (ICV) mask, by
% 1/ filling small holes, based on #voxel threshold (1000mm^3 by def.)
% 2/ removing blobs outside brain, i.e. the biggest blob
% 2/ removing blobs outside brain, i.e. keep the biggest blob
% 3/ if some inverse warping (MNI->subj) is provided, adjust ICV mask with
% the SPM one. Simply adding both and checking overlap.
%
Expand Down

0 comments on commit b014ad3

Please sign in to comment.