|
X-Boost
2.3.8
|
#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 ¶ms, 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 | |
Policy to convert an image in a IntegralImage TODO: datatype using template (?) Input: BW Image | Output: RawData < uint32 >
1.8.7