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 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114
|
// This parameter file has kind of realistic values.
// In most other parameter files for testing, the number of samples and iterations is rather low, to allow fast testing.
// ********** Image Types
(FixedInternalImagePixelType "float")
(FixedImageDimension 3)
(MovingInternalImagePixelType "float")
(MovingImageDimension 3)
// ********** Components
(RandomSeed 42)
(Registration "MultiResolutionRegistration")
(FixedImagePyramid "FixedGenericImagePyramid")
(MovingImagePyramid "MovingGenericImagePyramid")
(ImagePyramidRescaleSchedule 1 1 1 1 1 1)
(ImagePyramidSmoothingSchedule 1 1 1 1 1 1)
(Interpolator "BSplineInterpolator")
(Metric "Impact")
(Optimizer "AdaptiveStochasticGradientDescent")
(ResampleInterpolator "FinalBSplineInterpolator")
(Resampler "DefaultResampler")
(Transform "BSplineTransform")
// ********** Pyramid
// Total number of resolutions
(NumberOfResolutions 2)
(ImagePyramidSchedule 3 3 3 1 1 1)
// ********** Transform
(FinalGridSpacingInPhysicalUnits 10.0)
(GridSpacingSchedule 3.0 1.0)
(HowToCombineTransforms "Compose")
// ********** Optimizer
// Maximum number of iterations in each resolution level:
(MaximumNumberOfIterations 200)
(AutomaticParameterEstimation "true")
(UseAdaptiveStepSizes "true")
// ********** Metric
(ImpactModelsPath0 "./M730_1_Layers.pt")
(ImpactDimension0 3)
(ImpactNumberOfChannels0 1)
(ImpactPatchSize0 0 0 0)
(ImpactVoxelSize0 3 3 3)
(ImpactLayersMask0 "1")
(ImpactSubsetFeatures0 32)
(ImpactLayersWeight0 1)
(ImpactPCA0 0)
(ImpactDistance0 "L2")
(ImpactModelsPath1 "./M730_1_Layers.pt")
(ImpactDimension1 3)
(ImpactNumberOfChannels1 1)
(ImpactPatchSize1 0 0 0)
(ImpactVoxelSize1 1.5 1.5 1.5)
(ImpactLayersMask1 "1")
(ImpactSubsetFeatures1 32)
(ImpactLayersWeight1 1)
(ImpactPCA1 0)
(ImpactDistance1 "L2")
(ImpactMode "Static")
(ImpactGPU -1)
(ImpactFeaturesMapUpdateInterval -1)
(ImpactWriteFeatureMaps "false")
// ********** Several
(WriteTransformParametersEachIteration "false")
(WriteTransformParametersEachResolution "true")
(WriteResultImageAfterEachResolution "false")
(WritePyramidImagesAfterEachResolution "false")
(WriteResultImage "false")
(ShowExactMetricValue "false")
(ErodeMask "false")
(UseDirectionCosines "true")
// ********** ImageSampler
//Number of spatial samples used to compute the mutual information in each resolution level:
(ImageSampler "RandomCoordinate")
(NumberOfSpatialSamples 500)
(NewSamplesEveryIteration "true")
(UseRandomSampleRegion "false")
(MaximumNumberOfSamplingAttempts 8)
// ********** Interpolator and Resampler
//Order of B-Spline interpolation used in each resolution level:
(BSplineInterpolationOrder 1)
//Order of B-Spline interpolation used for applying the final deformation:
(FinalBSplineInterpolationOrder 3)
//Default pixel value for pixels that come from outside the picture:
(DefaultPixelValue 0)
|