ParameterObject::GetDefaultParameterMap("bspline") returns a parameter map whose "Metric" parameter has values { "AdvancedMattesMutualInformation", "TransformBendingEnergyPenalty" }:
|
parameterMap["Metric"] = { "AdvancedMattesMutualInformation", "TransformBendingEnergyPenalty" }; |
On the other hand, for "translation", "rigid", "affine" and "spline", GetDefaultParameterMap(transformName) returns a map whose Metric is just "AdvancedMattesMutualInformation".
Marius (@mstaring) suggested to consider removing "TransformBendingEnergyPenalty" for bspline as well. "TransformBendingEnergyPenalty" may not be necessary. Moreover, it may make things easier for the napari plugin, when all its "non-custom presets" share the same Metric by default. (Related to issue SuperElastix/elastix-napari#58)
To be discussed.
ParameterObject::GetDefaultParameterMap("bspline")returns a parameter map whose"Metric"parameter has values{ "AdvancedMattesMutualInformation", "TransformBendingEnergyPenalty" }:elastix/Core/Main/elxParameterObject.cxx
Line 509 in 7c76da1
On the other hand, for "translation", "rigid", "affine" and "spline",
GetDefaultParameterMap(transformName)returns a map whose Metric is just"AdvancedMattesMutualInformation".Marius (@mstaring) suggested to consider removing
"TransformBendingEnergyPenalty"for bspline as well."TransformBendingEnergyPenalty"may not be necessary. Moreover, it may make things easier for the napari plugin, when all its "non-custom presets" share the same Metric by default. (Related to issue SuperElastix/elastix-napari#58)To be discussed.