a b/elastix-parameters/ParCOPD/affine+2000itr/Par0003.affine.txt
1
//ImageTypes
2
(FixedInternalImagePixelType "float")
3
(FixedImageDimension 3)
4
(MovingInternalImagePixelType "float")
5
(MovingImageDimension 3)
6
7
//Components
8
(Registration "MultiResolutionRegistration")
9
(FixedImagePyramid "FixedSmoothingImagePyramid")
10
(MovingImagePyramid "MovingSmoothingImagePyramid")
11
(Interpolator "BSplineInterpolator")
12
(Metric "AdvancedMattesMutualInformation")
13
(Optimizer "StandardGradientDescent")
14
(ResampleInterpolator "FinalBSplineInterpolator")
15
(Resampler "DefaultResampler")
16
(Transform "AffineTransform")
17
18
// ********** Pyramid
19
20
// Total number of resolutions
21
(NumberOfResolutions 4)
22
23
24
// ********** Transform
25
26
(AutomaticTransformInitialization "true")
27
(AutomaticScalesEstimation "true")
28
(HowToCombineTransforms "Compose")
29
30
31
// ********** Optimizer
32
33
// Maximum number of iterations in each resolution level:
34
(MaximumNumberOfIterations 1000)
35
36
//SP: Param_a in each resolution level. a_k = a/(A+k+1)^alpha
37
(SP_a 500.0)
38
39
//SP: Param_alpha in each resolution level. a_k = a/(A+k+1)^alpha
40
(SP_alpha 0.602)
41
42
//SP: Param_A in each resolution level. a_k = a/(A+k+1)^alpha
43
(SP_A 50.0)
44
45
46
// ********** Metric
47
48
//Number of grey level bins in each resolution level:
49
(NumberOfHistogramBins 32)
50
(FixedLimitRangeRatio 0.0)
51
(MovingLimitRangeRatio 0.0)
52
(FixedKernelBSplineOrder 1)
53
(MovingKernelBSplineOrder 3)
54
55
56
// ********** Several
57
58
(WriteTransformParametersEachIteration "false")
59
(WriteTransformParametersEachResolution "false")
60
(WriteResultImage "false")
61
(ShowExactMetricValue "false")
62
(ErodeFixedMask "false")
63
(ErodeMovingMask "false")
64
(UseDifferentiableOverlap "false")
65
66
67
// ********** ImageSampler
68
69
//Number of spatial samples used to compute the mutual information in each resolution level:
70
(ImageSampler "RandomSparseMask")
71
(NumberOfSpatialSamples 2048)
72
(NewSamplesEveryIteration "true")
73
74
75
// ********** Interpolator and Resampler
76
77
//Order of B-Spline interpolation used in each resolution level:
78
(BSplineInterpolationOrder 1)
79
80
//Order of B-Spline interpolation used for applying the final deformation:
81
(FinalBSplineInterpolationOrder 3)
82
83
//Default pixel value for pixels that come from outside the picture:
84
(DefaultPixelValue 0)
85