Skip to content

Consider removing "TransformBendingEnergyPenalty" from metrics returned by GetDefaultParameterMap #1377

@N-Dekker

Description

@N-Dekker

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions