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

Policy to convert an Image in a HoG descriptor Input: BW Image | Output: RawData n scalar. More...

#include <HoGPreprocessor.h>

Public Types

typedef RawData< double > DataType
 
typedef HoGParams ParamType
 Common data provided by this preprocessor.
 
typedef std::pair< DataType,
ParamType
ReturnType
 Data provided by this preprocessor.
 

Public Member Functions

void SetCellGeometry (unsigned int width, unsigned int height)
 
void SetBlockGeometry (unsigned int width, unsigned int height)
 
void SetHystogramBins (int n)
 
void SetBlockStep (int h, int v)
 
void EnableSign (bool s)
 
void Configure (std::istream &in)
 
void Configure (const char *str)
 
void debug_geometry (unsigned int width, unsigned int height) const
 
template<class T >
bool Process (ReturnType &out, const T *image, unsigned int width, unsigned int height, long stride) const
 

Public Attributes

unsigned int n_cells_per_block
 numero di celle per blocco
 

Detailed Description

Policy to convert an Image in a HoG descriptor Input: BW Image | Output: RawData n scalar.

Member Function Documentation

void HoGPreprocessor::debug_geometry ( unsigned int  width,
unsigned int  height 
) const
inline

numero di blocchi per colonna

template<class T >
bool HoGPreprocessor::Process ( ReturnType out,
const T *  image,
unsigned int  width,
unsigned int  height,
long  stride 
) const
inline

numero di blocchi per colonna


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