a b/elastix-parameters/Par0007/Parameters.MI.Fine.Bspline_tuned.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 "AdvancedMattesMutualInformation")
16
(Optimizer "StandardGradientDescent")
17
(ResampleInterpolator "FinalBSplineInterpolator")
18
(Resampler "DefaultResampler")
19
(Transform "BSplineTransform")
20
21
22
// ********** Pyramid
23
24
// Total number of resolutions
25
(NumberOfResolutions 2)
26
(ImagePyramidSchedule 1 1 1 1 1 1)
27
28
29
// ********** Transform
30
(FinalGridSpacingInPhysicalUnits 5.0 5.0 5.0)
31
(GridSpacingSchedule 2.0 1.0)
32
(HowToCombineTransforms "Compose")
33
34
35
// ********** Optimizer
36
37
// Maximum number of iterations in each resolution level:
38
(MaximumNumberOfIterations 100)
39
40
//SP: Param_a in each resolution level. a_k = a/(A+k+1)^alpha
41
(SP_a 2000.0 2000.0)
42
//(SP_a 8000.0 2000.0 2000.0 2000.0 2000.0)
43
44
//SP: Param_alpha in each resolution level. a_k = a/(A+k+1)^alpha
45
(SP_alpha 0.6)
46
47
//SP: Param_A in each resolution level. a_k = a/(A+k+1)^alpha
48
(SP_A 50.0)
49
50
51
// ********** Metric
52
53
(NumberOfHistogramBins 64 64)
54
(UseFastAndLowMemoryVersion "true")
55
56
57
// ********** Several
58
59
(WriteTransformParametersEachIteration "false")
60
(WriteTransformParametersEachResolution "true")
61
(WriteResultImageAfterEachResolution "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 "true")
74
//(SampleRegionSize 50.0 50.0 50.0)
75
//(MaximumNumberOfSamplingAttempts 50)
76
77
78
// ********** Interpolator and Resampler
79
80
//Order of B-Spline interpolation used in each resolution level:
81
(BSplineInterpolationOrder 1)
82
83
//Order of B-Spline interpolation used for applying the final deformation:
84
(FinalBSplineInterpolationOrder 3)
85
86
//Default pixel value for pixels that come from outside the picture:
87
(DefaultPixelValue -1000)
88