--- a +++ b/elastix-parameters/Par0011/Parameters.Par0011.affine.txt @@ -0,0 +1,79 @@ +// ********** Image Types + +(FixedInternalImagePixelType "float") +(FixedImageDimension 3) +(MovingInternalImagePixelType "float") +(MovingImageDimension 3) + + +// ********** Components + +(Registration "MultiResolutionRegistration") +(FixedImagePyramid "FixedRecursiveImagePyramid") +(MovingImagePyramid "MovingRecursiveImagePyramid") +(Interpolator "BSplineInterpolator") +(Metric "AdvancedNormalizedCorrelation") +(Optimizer "AdaptiveStochasticGradientDescent") +(ResampleInterpolator "FinalBSplineInterpolator") +(Resampler "DefaultResampler") +(Transform "AffineTransform") + + +// ********** Pyramid + +// Total number of resolutions +(NumberOfResolutions 5) +(ImagePyramidSchedule 16 16 16 8 8 8 4 4 4 2 2 2 1 1 1) + + +// ********** Transform + +(AutomaticScalesEstimation "true") +(AutomaticTransformInitialization "true") +(HowToCombineTransforms "Compose") + + +// ********** Optimizer + +// Maximum number of iterations in each resolution level: +(MaximumNumberOfIterations 1000) + +(AutomaticParameterEstimation "true") +(UseAdaptiveStepSizes "true") + + +// ********** Metric + + +// ********** Several + +(WriteTransformParametersEachIteration "false") +(WriteTransformParametersEachResolution "true") +(WriteResultImageAfterEachResolution "false") +(WriteResultImage "true") +(ShowExactMetricValue "false") +(ErodeMask "false") +(UseDirectionCosines "true") + + +// ********** ImageSampler + +//Number of spatial samples used to compute the mutual information in each resolution level: +(ImageSampler "RandomCoordinate") +(NumberOfSpatialSamples 2000) +(NewSamplesEveryIteration "true") +(UseRandomSampleRegion "false") +(MaximumNumberOfSamplingAttempts 5) + + +// ********** 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) +