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")
Interpolate an image at specified positions using bicubic interpolation.
Prolate interpolation of an otb::image.
itk::InterpolateImageFunction< ImageType, double > InterpolationType
This class provides internal information for streamable filters.
itk::InterpolateImageFunction< ImageType, double > InterpolationType
static unsigned int CalculateNeededRadiusForInterpolator(const InterpolationType *interpolator)
Use the WindowedSincInterpolateImageFunctionBase with a Blackman Function.
Use the WindowedSincInterpolateImageFunctionBase with a Cosine Function.
Use the WindowedSincInterpolateImageFunctionBase with a Gaussian Function.
Use the WindowedSincInterpolateImageFunctionBase with a Hamming Function.
Use the WindowedSincInterpolateImageFunctionBase with a Lanczos Function.
Use the WindowedSincInterpolateImageFunctionBase with a Welch Function.
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.
#define otbMsgDevMacro(x)