Developer documentation
Version 3.0.3-105-gd3941f44
shared.h
Go to the documentation of this file.
1/* Copyright (c) 2008-2022 the MRtrix3 contributors.
2 *
3 * This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
6 *
7 * Covered Software is provided under this License on an "as is"
8 * basis, without warranty of any kind, either expressed, implied, or
9 * statutory, including, without limitation, warranties that the
10 * Covered Software is free of defects, merchantable, fit for a
11 * particular purpose or non-infringing.
12 * See the Mozilla Public License v. 2.0 for more details.
13 *
14 * For more details, see http://www.mrtrix.org/.
15 */
16
17
18#ifndef __registration_shared_h__
19#define __registration_shared_h__
20
21#include "app.h"
22
23namespace MR
24{
25 namespace Registration
26 {
27 using namespace MR;
28 using namespace App;
29
31 OptionGroup ("Multi-contrast options")
32 + Option ("mc_weights", "relative weight of images used for multi-contrast registration. Default: 1.0 (equal weighting)")
33 + Argument ("weights").type_sequence_float ();
34
36 OptionGroup ("FOD registration options")
37
38 + Option ("directions", "the directions used for FOD reorienation using apodised point spread functions (Default: 60 directions)")
39 + Argument ("file", "a list of directions [az el] generated using the gendir command.").type_file_in ()
40
41 + Option ("noreorientation", "turn off FOD reorientation. Reorientation is on by default if the number "
42 "of volumes in the 4th dimension corresponds to the number of coefficients in an "
43 "antipodally symmetric spherical harmonic series (i.e. 6, 15, 28, 45, 66 etc");
44 }
45}
46
47#endif
A class to specify a command-line argument.
Argument & type_file_in()
specifies that the argument should be an input file
Argument & type_sequence_float()
specifies that the argument should be a sequence of comma-separated floating-point values.
a class to hold a named list of Option's
A class to specify a command-line option.
const App::OptionGroup fod_options
Definition: shared.h:35
const OptionGroup multiContrastOptions
Definition: shared.h:30
Definition: base.h:24