a b/elastix-parameters/Par0049/Par0049_stdT-advanced.txt
1
// ********** Image Types
2
3
(FixedInternalImagePixelType "float")
4
(FixedImageDimension 3)
5
(MovingInternalImagePixelType "float")
6
(MovingImageDimension 3)
7
8
9
// ********** Components
10
11
(Registration "MultiResolutionRegistration")
12
(FixedImagePyramid "FixedRecursiveImagePyramid")
13
(MovingImagePyramid "MovingRecursiveImagePyramid")
14
(Interpolator "BSplineInterpolator")
15
(Metric "AdvancedNormalizedCorrelation")
16
(Optimizer "AdaptiveStochasticGradientDescent")
17
(ResampleInterpolator "FinalBSplineInterpolator")
18
(Resampler "DefaultResampler")
19
(Transform "BSplineTransform")
20
21
22
// ********** Pyramid
23
24
// Total number of resolutions
25
(NumberOfResolutions 6)
26
(ImagePyramidSchedule 16 16 16 8 8 8 4 4 4 2 2 2 1 1 1 1 1 1)
27
28
29
// ********** Transform
30
31
(FinalGridSpacingInPhysicalUnits 5.0 5.0 5.0)
32
(GridSpacingSchedule 16.0 16.0 8.0 4.0 2.0 1.0)
33
(HowToCombineTransforms "Compose")
34
35
36
// ********** Optimizer
37
38
// Maximum number of iterations in each resolution level:
39
(MaximumNumberOfIterations 1000)
40
41
(AutomaticParameterEstimation "true")
42
(UseAdaptiveStepSizes "true")
43
44
45
// ********** Metric
46
47
// Just using the default values for the NC metric
48
49
50
// ********** Several
51
52
(WriteTransformParametersEachIteration "false")
53
(WriteTransformParametersEachResolution "true")
54
(WriteResultImageAfterEachResolution "false")
55
(WritePyramidImagesAfterEachResolution "false")
56
// (WriteResultImage "false")
57
(WriteResultImage "true")
58
59
(ShowExactMetricValue "false")
60
(ErodeMask "false")
61
(UseDirectionCosines "true")
62
63
64
// ********** ImageSampler
65
66
//Number of spatial samples used to compute the mutual information in each resolution level:
67
(ImageSampler "RandomCoordinate")
68
(NumberOfSpatialSamples 2000)
69
(NewSamplesEveryIteration "true")
70
(UseRandomSampleRegion "false")
71
(SampleRegionSize 50.0 50.0 50.0)
72
(MaximumNumberOfSamplingAttempts 50)
73
// (ResultImageFormat "mha")
74
75
76
// ********** Interpolator and Resampler
77
78
//Order of B-Spline interpolation used in each resolution level:
79
(BSplineInterpolationOrder 1)
80
81
//Order of B-Spline interpolation used for applying the final deformation:
82
(FinalBSplineInterpolationOrder 3)
83
84
//Default pixel value for pixels that come from outside the picture:
85
(DefaultPixelValue -2048)
86
87
(ResultImageFormat "nii")
88
(ResultImagePixelType "float")
89
(ResultImageName "result_image")
90
91