Switch to unified view

a b/elastix-parameters/Par0049/Par0049_stdT2000itr.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 "FixedSmoothingImagePyramid")
13
(MovingImagePyramid "MovingSmoothingImagePyramid")
14
(Interpolator "BSplineInterpolator")
15
(Metric "AdvancedMattesMutualInformation")
16
(Optimizer "AdaptiveStochasticGradientDescent")
17
(ResampleInterpolator "FinalBSplineInterpolator")
18
(Resampler "DefaultResampler")
19
(Transform "BSplineTransform")
20
21
// ********** Pyramid
22
23
// Total number of resolutions
24
(NumberOfResolutions 3)
25
(ImagePyramidSchedule 4 4 4 2 2 2 1 1 1)
26
27
28
// ********** Transform
29
30
(FinalGridSpacingInPhysicalUnits 10.0 10.0 10.0)
31
(GridSpacingSchedule 4.0 2.0 1.0)
32
(HowToCombineTransforms "Compose")
33
34
35
// ********** Optimizer
36
37
// Maximum number of iterations in each resolution level:
38
(MaximumNumberOfIterations 2000)
39
40
(AutomaticParameterEstimation "true")
41
(UseAdaptiveStepSizes "true")
42
(GradientEstimationMethod 3)
43
44
45
// ********** Metric
46
47
(NumberOfHistogramBins 32)
48
(FixedLimitRangeRatio 0.0)
49
(MovingLimitRangeRatio 0.0)
50
(FixedKernelBSplineOrder 1)
51
(MovingKernelBSplineOrder 3)
52
(UseFastAndLowMemoryVersion "true")
53
54
55
// ********** Several
56
57
(WriteTransformParametersEachIteration "false")
58
(WriteTransformParametersEachResolution "true")
59
(WriteResultImageAfterEachResolution "false")
60
(WritePyramidImagesAfterEachResolution "false")
61
// (WriteResultImage "false")
62
(WriteResultImage "true")
63
(ShowExactMetricValue "false")
64
(ErodeMask "false")
65
66
67
// ********** ImageSampler
68
69
//Number of spatial samples used to compute the mutual information in each resolution level:
70
(ImageSampler "RandomCoordinate")
71
(NumberOfSpatialSamples 5000)
72
(NewSamplesEveryIteration "true")
73
(UseRandomSampleRegion "false")
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 0)
86
87
//the format of resulting deformed moving image
88
//(ResultImageFormat "mha")
89
90
(ResultImageFormat "nii")
91
(ResultImagePixelType "float")
92
(ResultImageName "result_image")
93