-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathelastixParams_invertBspline.txt
42 lines (30 loc) · 1.3 KB
/
elastixParams_invertBspline.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
(FixedImageDimension 3)
(MovingImageDimension 3)
(Registration "MultiResolutionRegistration")
(FixedImagePyramid "FixedRecursiveImagePyramid")
(MovingImagePyramid "MovingRecursiveImagePyramid")
(Optimizer "AdaptiveStochasticGradientDescent")
//(ASGDParameterEstimationMethod "DisplacementDistribution") //This option doesn't work with inversions, says Qiyu
(NumberOfSpatialSamples 4000)
(CheckNumberOfSamples "false")
(NewSamplesEveryIteration "true")
(ImageSampler "RandomCoordinate")
(Transform "RecursiveBSplineTransform")
(HowToCombineTransforms "Compose")
(Interpolator "LinearInterpolator")
(Metric "DisplacementMagnitudePenalty")
(NumberOfResolutions 5)
(ImagePyramidSchedule 8 8 8 4 4 4 2 2 2 1 1 1 1 1 1)
(FinalGridSpacingInPhysicalUnits _GRIDSPACING_)
(GridSpacingSchedule 8 4 2 1 1)
(MaximumNumberOfIterations 1000 1000 2000 4000 6000)
//Output
(Resampler "DefaultResampler")
(ResampleInterpolator "FinalBSplineInterpolator")
(FinalBSplineInterpolationOrder 3)
(DefaultPixelValue 0)
(ResultImagePixelType "float")
(ResultImageFormat "nrrd")
(CompressResultImage "true")
(WriteResultImageAfterEachResolution "false" "false" "false" "false" "false")
(WriteResultImage "false") //This line can be changed by invert_elastix's -w option, so don't remove this line