Orfeo Toolbox  4.0
Static Public Member Functions | List of all members
otb::MeanShift::ScalarBufferConverter Class Reference

Small utilities class used for buffer conversion with EDISON standard. This class handles buffer conversion when pixel type is scalar. More...

#include <otbMeanShiftImageFilter.h>

Static Public Member Functions

template<class TPixel >
static void FloatArrayToPixel (const float *data, unsigned int index, TPixel &pixel, const unsigned int, double scale)
 
template<class TPixel >
static void PixelToFloatArray (float *data, unsigned int index, const TPixel &pixel, double scale)
 

Detailed Description

Small utilities class used for buffer conversion with EDISON standard. This class handles buffer conversion when pixel type is scalar.

Deprecated:
Deprecated:

Definition at line 39 of file otbMeanShiftImageFilter.h.

Member Function Documentation

template<class TPixel >
static void otb::MeanShift::ScalarBufferConverter::FloatArrayToPixel ( const float *  data,
unsigned int  index,
TPixel &  pixel,
const unsigned  int,
double  scale 
)
inlinestatic

Fill the pixel with the float array values at index, using nbComp values scaled by scale.

Definition at line 47 of file otbMeanShiftImageFilter.h.

template<class TPixel >
static void otb::MeanShift::ScalarBufferConverter::PixelToFloatArray ( float *  data,
unsigned int  index,
const TPixel &  pixel,
double  scale 
)
inlinestatic

Fill the float array data with the pixel values at index, using nbComp values scaled by scale.

Definition at line 57 of file otbMeanShiftImageFilter.h.


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

Generated at Sat Mar 8 2014 19:08:47 for Orfeo Toolbox with doxygen 1.8.3.1