InsightSoftwareConsortium / InsightSoftwareConsortium/ITK

m_DownsampleImagesForMetricDerivatives bug

Open
#3,830 3 comments 0 reactions 0 assignees View on GitHub
type:Bug
Dominant language
C++
Stars
1.7k
Forks
748
Avg merge
1d 1h
Merged PRs (30d)
64

Description

In `Modules/Registration/RegistrationMethodsv4/include/itkSyNImageRegistrationMethod.hxx`,
all `m_DownsampleImagesForMetricDerivatives` conditions are checked only for `IMAGE_METRIC` metrics.

But in lines 587-591:
if (this->m_Metric->GetMetricCategory() == ObjectToObjectMetricBaseTemplateEnums::MetricCategory::MULTI_METRIC)
pointset metrics are affected by this condition.

The result is: wrong fixed/moving transforms are set for pointset metrics in a multi-metric.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.