Switch to unified view

a b/elastix-parameters/Par0049/Par0049_stdTL-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 1)
26
(ImagePyramidSchedule 1 1 1)
27
28
29
// ********** Transform
30
31
(FinalGridSpacingInPhysicalUnits 5.0 5.0 5.0)
32
(GridSpacingSchedule 1.0)
33
(HowToCombineTransforms "Compose")
34
35
36
// ********** Optimizer
37
38
// Maximum number of iterations in each resolution level:
39
(MaximumNumberOfIterations 500)
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
(ShowExactMetricValue "false")
58
(ErodeMask "false")
59
(UseDirectionCosines "true")
60
61
62
// ********** ImageSampler
63
64
//Number of spatial samples used to compute the mutual information in each resolution level:
65
(ImageSampler "RandomCoordinate")
66
(NumberOfSpatialSamples 2000)
67
(NewSamplesEveryIteration "true")
68
(UseRandomSampleRegion "false")
69
(SampleRegionSize 50.0 50.0 50.0)
70
(MaximumNumberOfSamplingAttempts 50)
71
(ResultImageFormat "mha")
72
73
74
// ********** Interpolator and Resampler
75
76
//Order of B-Spline interpolation used in each resolution level:
77
(BSplineInterpolationOrder 1)
78
79
//Order of B-Spline interpolation used for applying the final deformation:
80
(FinalBSplineInterpolationOrder 3)
81
82
//Default pixel value for pixels that come from outside the picture:
83
(DefaultPixelValue -2048)
84