21 #ifndef otbStreamingTraits_hxx
22 #define otbStreamingTraits_hxx
28 template <
class TImage>
31 unsigned int neededRadius = 0;
32 std::string className;
34 className = interpolator->GetNameOfClass();
36 if (className ==
"LinearInterpolateImageFunction")
41 else if (className ==
"NearestNeighborInterpolateImageFunction")
46 else if (className ==
"BSplineInterpolateImageFunction")
51 else if (className ==
"ProlateInterpolateImageFunction")
56 else if (className ==
"WindowedSincInterpolateImageGaussianFunction")
61 else if (className ==
"WindowedSincInterpolateImageHammingFunction")
66 else if (className ==
"WindowedSincInterpolateImageCosineFunction")
71 else if (className ==
"WindowedSincInterpolateImageWelchFunction")
76 else if (className ==
"WindowedSincInterpolateImageLanczosFunction")
81 else if (className ==
"WindowedSincInterpolateImageBlackmanFunction")
86 else if (className ==
"BCOInterpolateImageFunction")
94 template <
typename TPixel,
unsigned int VImageDimension>
97 unsigned int neededRadius = 0;
98 std::string className;
100 className = interpolator->GetNameOfClass();
102 if (className ==
"LinearInterpolateImageFunction")
107 else if (className ==
"NearestNeighborInterpolateImageFunction")
112 else if (className ==
"BSplineInterpolateImageFunction")
117 else if (className ==
"WindowedSincInterpolateImageGaussianFunction")
122 else if (className ==
"BCOInterpolateImageFunction")