if I want to use an ImageInterpolatorFunction (Linear or NearestNeighbor) for an image with PixelType that can be either scalar or a vector.
The PixelType is determined at compile time because the function template get the PixelType. Using PixelType and known dimension I typedef an ImageType.
Based on the PixelType i would like to typedef the interpolator like this
using Interpolator = itk::SOMEInterpolateImageFunction< TInputImage, TCoordRep>
- Why does another class VectorLinearInterpolateImageFunction exist?
For the NearestNeighborInterpolateImageFunction the documentation states: " NearestNeighborInterpolateImageFunction interpolates image intensity at a non-integer pixel position by copying the intensity for the nearest neighbor. This class is templated over the input image type and the coordinate representation type (e.g. float or double)."
- Why does this class do not have the abilities like LinearInterpolateImageFunction to be functional with vector pixel types?