X-Boost  2.3.8
allocate.h
Go to the documentation of this file.
1 /* XBoost: Ada-Boost and Friends on Haar/ICF/HOG Features, Library and ToolBox
2  *
3  * Copyright (c) 2008-2014 Paolo Medici <medici@ce.unipr.it>
4  *
5  * This library is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU Lesser General Public
7  * License as published by the Free Software Foundation; either
8  * version 2 of the License, or (at your option) any later version.
9  *
10  * This library is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  * Lesser General Public License for more details.
14  *
15  * You should have received a copy of the GNU Lesser General Public
16  * License along with this library; if not, write to the
17  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18  * Boston, MA 02111-1307, USA.
19  */
20 
21 #ifndef _XBOOST_ALLOCATE_H
22 #define _XBOOST_ALLOCATE_H
23 
28 #include <iosfwd>
29 #include <Types.h>
30 #include "ImageClassifier.h"
31 #include "ObjectDetector.h"
32 
34 ImageClassifier *allocate_classifier(const char *name, std::istream &in);
35 
38 ImageClassifier *allocate_classifier_from_file(const char *filename);
39 
41 ObjectDetector *allocate_detector(const char *name, const char *filename);
42 
45 ObjectDetector *allocate_detector_from_file(const char *filename);
46 
47 
49 void print_classifier_list(std::ostream & out);
50 
51 
52 #endif
void print_classifier_list(std::ostream &out)
Types involved in boosting.
"Binary" Classifier, virtual class
Definition: ImageClassifier.h:37
ObjectDetector * allocate_detector_from_file(const char *filename)
virtual classes to work on classifier. ObjectDetector exploits all the performance of classifier...
virtual classes to work on classifier. ImageClassifier is the simplest one, computing the response im...
ImageClassifier * allocate_classifier_from_file(const char *filename)
ObjectDetector * allocate_detector(const char *name, const char *filename)
Definition: ObjectDetector.h:82
ImageClassifier * allocate_classifier(const char *name, std::istream &in)