Hi everyone. I am beginner in registration. The below code is part of the code related to SimpleITK Examples. It seems that this code is written for images with different modalities. But I want to register two CT images together.
transformDomainMeshSize = [10] * moving.GetDimension()
tx = sitk.BSplineTransformInitializer(fixed, transformDomainMeshSize)
R = sitk.ImageRegistrationMethod()
R.SetMetricAsMattesMutualInformation(50)
R.SetOptimizerAsGradientDescentLineSearch(
5.0, 100, convergenceMinimumValue=1e-4, convergenceWindowSize=5)
R.SetOptimizerScalesFromPhysicalShift()
R.SetInitialTransform(tx)
R.SetInterpolator(sitk.sitkLinear)
R.SetShrinkFactorsPerLevel([6, 2, 1])
R.SetSmoothingSigmasPerLevel([6, 2, 1])
The similarity metrics and optimizers I was able to find are the following, but I don’t know which one I can use for mono-modality registration. Can you help me?
Thanks a lot
R.SetMetricAsANTSNeighborhoodCorrelation
R.SetMetricAsCorrelation
R.SetMetricAsDemons
R.SetMetricAsJointHistogramMutualInformation
R.SetMetricAsMattesMutualInformation
R.SetMetricAsMeanSquares
R.SetOptimizerAsAmoeba
R.SetOptimizerAsConjugateGradientLineSearch
R.SetOptimizerAsExhaustive
R.SetOptimizerAsGradientDescent
R.SetOptimizerAsGradientDescentLineSearch
R.SetOptimizerAsLBFGS2
R.SetOptimizerAsLBFGSB
R.SetOptimizerAsOnePlusOneEvolutionary
R.SetOptimizerAsPowell
R.SetOptimizerAsRegularStepGradientDescent