Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENH: Add support for multiple metrics and regularization #482

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

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