Closed N-Dekker closed 2 months ago
Discussed with @stefanklein and @whuizinga, starting at https://github.com/SuperElastix/elastix/pull/1099#issuecomment-2061492736 So if this particular definition of NumberOfWeights
isn't used anywhere (anymore), it can be removed. 👍
RecursiveBSplineInterpolationWeightFunction::NumberOfWeights
was never used. Its value(SplineOrder + 1) * SpaceDimension
was different from bothBSplineInterpolationWeightFunctionBase::NumberOfWeights
andRecursiveBSplineInterpolationWeightFunction::m_NumberOfWeights
(both equivalent topow(SplineOrder + 1, SpaceDimension)
), which appeared somewhat confusing.