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

#include <IntegralChannelImagePreprocessor.h>

Inherited by ObjectDetectorWrapperBase< IntegralChannelImagePreprocessor, _Instance >.

Public Types

typedef IntegralImageData DataType
 Data provided by this Preprocessor.
 
typedef IntegralChannelImageParams ParamType
 Common data provided by this preprocessor.
 
typedef std::pair< DataType,
ParamType
ReturnType
 Data provided by this preprocessor.
 

Public Member Functions

 IntegralChannelImagePreprocessor (std::istream &in)
 Read the configuration string from in stream.
 
 IntegralChannelImagePreprocessor (const char *conf)
 initialize using configuration string
 
void Configure (bool orientationSign, int nOrientationBin, bool magnitudeChannel, bool luminanceChannel, int derivativeFilter)
 
void Configure (const char *str)
 Configure using a string or a stream.
 
void Configure (std::istream &in)
 
void GetConf (char *strconf) const
 
void GetParam (ParamType &params, unsigned int width, unsigned int height) const
 
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
 
void DeSerialize (IntegralImageData &dst, const unsigned char *buf, int n) const
 
template<class T , bool magnitude, bool luminance>
bool core (unsigned char *buffer, const T *image, unsigned int width, unsigned int height, unsigned int j0, unsigned int j1, long stride) const
 
template<class T >
bool Process (std::pair< IntegralImageData, IntegralChannelImageParams > &out, const T *image, unsigned int width, unsigned int height, long stride) const
 compute the ICH
 

Detailed Description

Policy to convert an image in a IntegralChannelImage Input BW/RGB Image, Output: Tensor Data


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