It appears unnecessary to place the interpolators created by GetAndSetFixedImageInterpolators() in a local std::vector, before passing each of them to SetFixedImageInterpolator.
This commit also prevents a warning, saying:
warning: declaration of 'using FixedImageInterpolatorType = ...' shadows a member of 'elastix::MultiResolutionRegistrationWithFeatures' [-Wshadow]
It appears unnecessary to place the interpolators created by GetAndSetFixedImageInterpolators() in a local
std::vector
, before passing each of them to SetFixedImageInterpolator.This commit also prevents a warning, saying: