Developer documentation
Version 3.0.3-105-gd3941f44
tractography.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#ifndef __dwi_tractography_tracking_tractography_h__
18#define __dwi_tractography_tracking_tractography_h__
19
20#include "app.h"
21#include "mrtrix.h"
23
24
25namespace MR
26{
27 namespace App { class OptionGroup; }
28
29 namespace DWI
30 {
31
32 namespace Tractography
33 {
34
35 namespace Tracking
36 {
37
38 namespace Defaults
39 {
40 constexpr size_t num_selected_tracks = 5000;
41 constexpr size_t seed_to_select_ratio = 1000;
42 constexpr size_t max_attempts_per_seed = 1000;
43
44 constexpr float cutoff_fod = 0.10f;
45 constexpr float cutoff_fixel = 0.10f;
46 constexpr float cutoff_fa = 0.10f;
47 constexpr float cutoff_act_multiplier = 0.5f;
48
49 constexpr size_t max_trials_per_step = 1000;
50
51 constexpr float stepsize_voxels_firstorder = 0.1f;
52 constexpr float stepsize_voxels_rk4 = 0.25f;
53 constexpr float stepsize_voxels_ifod2 = 0.5f;
54
55 constexpr float angle_deterministic = 60.0f;
56 constexpr float angle_ifod1 = 15.0f;
57 constexpr float angle_ifod2 = 45.0f;
58
59 constexpr float minlength_voxels_noact = 5.0f;
60 constexpr float minlength_voxels_withact = 2.0f;
61 constexpr float maxlength_voxels = 100.0f;
62
63 constexpr size_t ifod2_nsamples = 4;
64 }
65
66 extern const App::OptionGroup TrackOption;
67
69
70 }
71 }
72 }
73}
74
75#endif
76
a class to hold a named list of Option's
void load_streamline_properties_and_rois(Properties &)
const App::OptionGroup TrackOption
Definition: base.h:24