|
X-Boost
2.3.8
|
bridge for ImageClassifier More...
#include <ImageClassifierWrapper.h>
Inherits ImageClassifier, _Preprocessor, and _Instance.
Public Member Functions | |
| ImageClassifierWrapper (std::istream &in) | |
| [imageclassifier w,h] [preprocessor if any] [classifier data] | |
| std::string | getSignature () const |
| return the classifier signature | |
| virtual void | setImage (const unsigned char *ptr, long stride, unsigned int width, unsigned int height) |
| initialize m_clsf_data | |
| virtual void | Release () |
| release m_clsf_data | |
| virtual float | operator() (int x0, int y0) const |
| process single point of m_clsf_data | |
| virtual void | Process (double *out, int x0, int y0, int n, int step) const |
| process a row of m_clsf_data, with a fixed step | |
Public Member Functions inherited from ImageClassifier | |
| ImageClassifier (std::istream &in) | |
| ImageClassifier (int w, int h) | |
| size | GetClassifierGeometry () const |
| return the [current] classifier geometry | |
| void | setImage (const ImageHandle &src) |
| setImage for the following operator() and Process | |
Static Public Member Functions | |
| static std::string | signature () |
bridge for ImageClassifier
1.8.7