OTB  6.7.0
Orfeo Toolbox
Public Types | Static Public Member Functions | Static Protected Member Functions | Private Member Functions | List of all members
otb::ConvertPixelBuffer< InputPixelType, OutputPixelType, OutputConvertTraits > Class Template Reference

#include <otbConvertPixelBuffer.h>

Public Types

typedef
OutputConvertTraits::ComponentType 
OutputComponentType
 

Static Public Member Functions

static void ConvertComplexToGray (std::complex< InputPixelType > *inputData, int inputNumberOfComponents, OutputPixelType *outputData, vcl_size_t size)
 
static void Convert (InputPixelType *inputData, int inputNumberOfComponents, OutputPixelType *outputData, vcl_size_t size)
 
static void ConvertVectorImage (InputPixelType *inputData, int inputNumberOfComponents, OutputPixelType *outputData, vcl_size_t size)
 
static void ConvertComplexVectorImageToVectorImage (std::complex< InputPixelType > *inputData, int inputNumberOfComponents, OutputPixelType *outputData, vcl_size_t size)
 
static void ConvertComplexVectorImageToVectorImageComplex (std::complex< InputPixelType > *inputData, int inputNumberOfComponents, OutputPixelType *outputData, vcl_size_t size)
 

Static Protected Member Functions

static void ConvertGrayToComplex (InputPixelType *inputData, OutputPixelType *OutputData, vcl_size_t size)
 

Private Member Functions

 ConvertPixelBuffer ()
 
 ~ConvertPixelBuffer ()
 

Detailed Description

template<typename InputPixelType, typename OutputPixelType, class OutputConvertTraits>
class otb::ConvertPixelBuffer< InputPixelType, OutputPixelType, OutputConvertTraits >

Class to convert blocks of data from one type to another.

ConvertPixelBuffer uses itk::ConvertPixelBuffer to perform most of the conversions. The monoband to complex conversion is done in this class (different rule than in ITK). New conversions methods are also added in this class : ConvertComplexVectorImageToVectorImage ConvertComplexVectorImageToVectorImageComplex ConvertComplexToGray

Definition at line 50 of file otbConvertPixelBuffer.h.

Member Typedef Documentation

template<typename InputPixelType , typename OutputPixelType , class OutputConvertTraits >
typedef OutputConvertTraits::ComponentType otb::ConvertPixelBuffer< InputPixelType, OutputPixelType, OutputConvertTraits >::OutputComponentType

Determine the output data type.

Definition at line 55 of file otbConvertPixelBuffer.h.

Constructor & Destructor Documentation

template<typename InputPixelType , typename OutputPixelType , class OutputConvertTraits >
otb::ConvertPixelBuffer< InputPixelType, OutputPixelType, OutputConvertTraits >::ConvertPixelBuffer ( )
private
template<typename InputPixelType , typename OutputPixelType , class OutputConvertTraits >
otb::ConvertPixelBuffer< InputPixelType, OutputPixelType, OutputConvertTraits >::~ConvertPixelBuffer ( )
private

Member Function Documentation

template<typename InputPixelType , typename OutputPixelType , class OutputConvertTraits >
void otb::ConvertPixelBuffer< InputPixelType, OutputPixelType, OutputConvertTraits >::Convert ( InputPixelType *  inputData,
int  inputNumberOfComponents,
OutputPixelType *  outputData,
vcl_size_t  size 
)
static

General method converts from one type to another.

Definition at line 36 of file otbConvertPixelBuffer.hxx.

template<typename InputPixelType , typename OutputPixelType , class OutputConvertTraits >
void otb::ConvertPixelBuffer< InputPixelType, OutputPixelType, OutputConvertTraits >::ConvertComplexToGray ( std::complex< InputPixelType > *  inputData,
int  inputNumberOfComponents,
OutputPixelType *  outputData,
vcl_size_t  size 
)
static

Definition at line 113 of file otbConvertPixelBuffer.hxx.

References otb::ComplexCast().

template<typename InputPixelType , typename OutputPixelType , class OutputConvertTraits >
void otb::ConvertPixelBuffer< InputPixelType, OutputPixelType, OutputConvertTraits >::ConvertComplexVectorImageToVectorImage ( std::complex< InputPixelType > *  inputData,
int  inputNumberOfComponents,
OutputPixelType *  outputData,
vcl_size_t  size 
)
static

General method converts from one type to another.

Definition at line 151 of file otbConvertPixelBuffer.hxx.

template<typename InputPixelType , typename OutputPixelType , class OutputConvertTraits >
void otb::ConvertPixelBuffer< InputPixelType, OutputPixelType, OutputConvertTraits >::ConvertComplexVectorImageToVectorImageComplex ( std::complex< InputPixelType > *  inputData,
int  inputNumberOfComponents,
OutputPixelType *  outputData,
vcl_size_t  size 
)
static

General method converts from one type to another.

Definition at line 171 of file otbConvertPixelBuffer.hxx.

References otb::ComplexCast().

template<typename InputPixelType , typename OutputPixelType , class OutputConvertTraits >
void otb::ConvertPixelBuffer< InputPixelType, OutputPixelType, OutputConvertTraits >::ConvertGrayToComplex ( InputPixelType *  inputData,
OutputPixelType *  OutputData,
vcl_size_t  size 
)
staticprotected

Conversions related to complex

Definition at line 64 of file otbConvertPixelBuffer.hxx.

template<typename InputPixelType , typename OutputPixelType , class OutputConvertTraits >
void otb::ConvertPixelBuffer< InputPixelType, OutputPixelType, OutputConvertTraits >::ConvertVectorImage ( InputPixelType *  inputData,
int  inputNumberOfComponents,
OutputPixelType *  outputData,
vcl_size_t  size 
)
static

General method converts from one type to another.

Definition at line 133 of file otbConvertPixelBuffer.hxx.


The documentation for this class was generated from the following files: