22 #ifndef otbConvertPixelBuffer_h
23 #define otbConvertPixelBuffer_h
26 #include "itkObject.h"
27 #include "OTBImageBaseExport.h"
45 template <
typename InputPixelType,
typename OutputPixelType,
class OutputConvertTraits>
54 static void Convert(InputPixelType* inputData,
int inputNumberOfComponents, OutputPixelType* outputData,
size_t size);
55 static void ConvertVectorImage(InputPixelType* inputData,
int inputNumberOfComponents, OutputPixelType* outputData,
size_t size);
56 static void ConvertComplexVectorImageToVectorImage(std::complex<InputPixelType>* inputData,
int inputNumberOfComponents, OutputPixelType* outputData,
58 static void ConvertComplexVectorImageToVectorImageComplex(std::complex<InputPixelType>* inputData,
int inputNumberOfComponents, OutputPixelType* outputData,
62 static void ConvertComplexToGray(std::complex<InputPixelType>* inputData,
int inputNumberOfComponents, OutputPixelType* outputData,
size_t size);
66 static void ConvertGrayToComplex(InputPixelType* inputData, OutputPixelType* OutputData,
size_t size);
75 #ifndef OTB_MANUAL_INSTANTIATION
79 #endif // otbConvertPixelBuffer_h