|
a |
|
b/elastix-parameters/Par0003/Par0003.bs-R6-ug.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 "StandardGradientDescent") |
|
|
17 |
(ResampleInterpolator "FinalBSplineInterpolator") |
|
|
18 |
(Resampler "DefaultResampler") |
|
|
19 |
(Transform "BSplineTransform") |
|
|
20 |
|
|
|
21 |
|
|
|
22 |
// ********** Pyramid |
|
|
23 |
|
|
|
24 |
// Total number of resolutions |
|
|
25 |
(NumberOfResolutions 6) |
|
|
26 |
// default schedule: isotropic upsampling with factor 2 |
|
|
27 |
|
|
|
28 |
// ********** Transform |
|
|
29 |
|
|
|
30 |
(FinalGridSpacingInPhysicalUnits 12.0 12.0 12.0) |
|
|
31 |
(GridSpacingSchedule 16.0 16.0 8.0 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 1000) |
|
|
39 |
|
|
|
40 |
//SP: Param_a in each resolution level. a_k = a/(A+k+1)^alpha |
|
|
41 |
(SP_a 10000.0) |
|
|
42 |
|
|
|
43 |
//SP: Param_alpha in each resolution level. a_k = a/(A+k+1)^alpha |
|
|
44 |
(SP_alpha 0.602) |
|
|
45 |
|
|
|
46 |
//SP: Param_A in each resolution level. a_k = a/(A+k+1)^alpha |
|
|
47 |
(SP_A 50.0) |
|
|
48 |
|
|
|
49 |
|
|
|
50 |
// ********** Metric |
|
|
51 |
|
|
|
52 |
//Number of grey level bins in each resolution level: |
|
|
53 |
(NumberOfHistogramBins 32) |
|
|
54 |
(FixedLimitRangeRatio 0.0) |
|
|
55 |
(MovingLimitRangeRatio 0.0) |
|
|
56 |
(FixedKernelBSplineOrder 1) |
|
|
57 |
(MovingKernelBSplineOrder 3) |
|
|
58 |
|
|
|
59 |
|
|
|
60 |
// ********** Several |
|
|
61 |
|
|
|
62 |
(WriteTransformParametersEachIteration "false") |
|
|
63 |
(WriteTransformParametersEachResolution "true") |
|
|
64 |
(WriteResultImageAfterEachResolution "false") |
|
|
65 |
(WriteResultImage "false") |
|
|
66 |
(ShowExactMetricValue "false") |
|
|
67 |
(ErodeMask "false") |
|
|
68 |
|
|
|
69 |
|
|
|
70 |
// ********** ImageSampler |
|
|
71 |
|
|
|
72 |
//Number of spatial samples used to compute the mutual information in each resolution level: |
|
|
73 |
(ImageSampler "RandomSparseMask") |
|
|
74 |
(NumberOfSpatialSamples 2000) |
|
|
75 |
(NewSamplesEveryIteration "true") |
|
|
76 |
(UseRandomSampleRegion "false") |
|
|
77 |
|
|
|
78 |
|
|
|
79 |
// ********** Interpolator and Resampler |
|
|
80 |
|
|
|
81 |
//Order of B-Spline interpolation used in each resolution level: |
|
|
82 |
(BSplineInterpolationOrder 1) |
|
|
83 |
|
|
|
84 |
//Order of B-Spline interpolation used for applying the final deformation: |
|
|
85 |
(FinalBSplineInterpolationOrder 3) |
|
|
86 |
|
|
|
87 |
//Default pixel value for pixels that come from outside the picture: |
|
|
88 |
(DefaultPixelValue 0) |
|
|
89 |
|