InsightSoftwareConsortium / InsightSoftwareConsortium/ITK
m_DownsampleImagesForMetricDerivatives bug
Open
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
Assessment
This issue has not been assessed yet.