X-Boost  2.3.8
Public Types | Public Member Functions | Static Public Member Functions | List of all members
IntegralImagePreprocessor Class Reference

#include <IntegralImagePreprocessors.h>

Inherited by ObjectDetectorWrapperBase< IntegralImagePreprocessor, _Instance >.

Public Types

typedef IntegralImageData DataType
 Data provided by this Preprocessor.
 
typedef IntegralImageParams ParamType
 parameters used to store data and use with feature extractor
 
typedef std::pair< DataType,
ParamType
ReturnType
 Data provided by this preprocessor.
 

Public Member Functions

 IntegralImagePreprocessor (std::istream &in)
 
void GetConf (char *strconf) const
 return null string configuration
 
void Configure (char *strconf) const
 in haar preprocessor nothing to do
 
void Configure (std::istream &in)
 
unsigned int DataSize (unsigned int width, unsigned int height) const
 compute memory required to serialize/deserialize the preprocessed image
 
void Serialize (unsigned char *buf, const IntegralImageData &src, int n) const
 to store on disk or use with MPI
 
void DeSerialize (IntegralImageData &dst, const unsigned char *buf, int n) const
 to store on disk or use with MPI
 

Static Public Member Functions

static void GetParam (IntegralImageParams &params, unsigned int width, unsigned int height)
 compute the params required to addess a image of width x height pixels
 
template<class T >
static bool Process (std::pair< IntegralImageData, IntegralImageParams > &out, const T *image, unsigned int width, unsigned int height, long stride)
 the operator used to convert an image to an integral image
 
static bool Process (std::pair< IntegralImageData, IntegralImageParams > &out, const IntegralImageHandle< uint32_t > &src)
 the operator used to convert an integral image to the data
 

Detailed Description

Policy to convert an image in a IntegralImage TODO: datatype using template (?) Input: BW Image | Output: RawData < uint32 >


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