Skip to content

Commit e4b6acd

Browse files
committed
prettier header comments
Signed-off-by: Stephen L. <lrq3000@gmail.com>
1 parent a1ed929 commit e4b6acd

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

auto_acpc_coreg.m

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
function auto_acpc_coreg(struct, func, others, mode, modality)
2-
32
% Coregister functional (or other modalities) to structural images using rigid-body transform
43
% via either an euclidian coregistration or a Mutual Information calculation on Joint Histograms.
4+
%
55
% FORMAT auto_acpc_coreg(struct, func, others, mode, modality)
66
%
77
% struct - filename of the reference structural image
@@ -11,6 +11,7 @@ function auto_acpc_coreg(struct, func, others, mode, modality)
1111
% modality - modality of the 'func' image, can be any type supported by SPM: 't1', 't2', 'epi', 'pd', 'pet', 'spect'. Default: 'epi'.
1212
%
1313
% Output: the voxel-to-world part of the headers of the selected source (func) and others images is modified.
14+
% _________________________________________________________________________
1415
%
1516
% It is advised to check (and fix if necessary) manually the result (using CheckReg).
1617
% Works with SPM12.

auto_acpc_reorient.m

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
function auto_acpc_reorient(imgpath, img_type, imgpath_other, mode, smooth_factor, flags_affine, flags_mi)
2-
32
% Cross-platform automatic AC-PC realignment/reorientation and coregistration
43
% for both healthy volunteers and brain damaged patients using template matching
54
% using SPM 12.
5+
%
66
% FORMAT auto_acpc_reorient(imgpath, img_type, imgpath_other, mode, smooth_factor, flags_affine, flags_mi)
77
%
88
% imgpath - filepath or chararray of filepaths of NIfTI images to reorient (as `ls` returns).
@@ -27,6 +27,7 @@ function auto_acpc_reorient(imgpath, img_type, imgpath_other, mode, smooth_facto
2727
% flags_mi - provide your custom flags for the mutual information coregistration
2828
%
2929
% Returns: nothing, but the input image's headers are modified.
30+
% _________________________________________________________________________
3031
%
3132
% This uses a non-linear coregistration on a template,
3233
% although the reorientation only applies a rigid-body transform.
@@ -184,7 +185,7 @@ function auto_acpc_reorient(imgpath, img_type, imgpath_other, mode, smooth_facto
184185
end %endfor
185186
end %endif
186187

187-
% MUTUAL INFORMATION COREGISTRATION
188+
% JOINT HISTOGRAM (MUTUAL INFORMATION) COREGISTRATION
188189
M_mi_mem = {};
189190
if strcmp(mode, 'mi') | strcmp(mode, 'both')
190191
fprintf('Mutual information reorientation, please wait...\n');

0 commit comments

Comments
 (0)