Skip to content

Conversation

@alvarez-pa
Copy link

In addition to m_NumberOfMetrics, three counters were added to the itkCombinationImageToImageMetric: m_NumberOfImageMetrics, m_NumberOfTransformMetrics and m_NumberOfPointSetMetrics.
Casting is used to verify the type of metric and to count metrics independetly.
The number of interpolators, images, masks and image pyramids is checked only against m_NumberOfMetrics.
The transform and point set metric counters may be useful in the future.

resolves #481

In addition to m_NumberOfMetrics, three counters were added to the itkCombinationImageToImageMetric: m_NumberOfImageMetrics, m_NumberOfTransformMetrics and m_NumberOfPointSetMetrics.
Casting is used to verify the type of metric and to count metrics independetly.
The number of interpolators, images, masks and image pyramids is checked only against m_NumberOfMetrics.
The transform and point set metric counters may be useful in the future.

resolves SuperElastix#481
@alvarez-pa alvarez-pa marked this pull request as ready for review June 15, 2021 12:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Multiple metrics and regularization

1 participant