bazar
1.3.1
|
Image classifier. More...
#include <image_classifier.h>
Public Member Functions | |
image_classifier (int image_width, int image_height, int class_number, LEARNPROGRESSION LearnProgress=0) | |
image_classifier (LEARNPROGRESSION LearnProgress=0) | |
virtual | ~image_classifier () |
virtual bool | load (string) |
virtual bool | save (string) |
virtual void | refine (example_generator *vg, int call_number)=0 |
virtual void | test (example_generator *vg, int call_number)=0 |
virtual int | recognize (image_class_example *pv, float *confidence=0, int dummy=0)=0 |
virtual float * | posterior_probabilities (image_class_example *pv, int dummy=0)=0 |
Public Attributes | |
LEARNPROGRESSION | LearnProgression |
int | image_width |
int | image_height |
int | class_number |
Image classifier.
Definition at line 47 of file image_classifier.h.
image_classifier::image_classifier | ( | int | image_width, |
int | image_height, | ||
int | class_number, | ||
LEARNPROGRESSION | LearnProgress = 0 |
||
) |
Definition at line 29 of file image_classifier.cpp.
References class_number, image_height, image_width, and LearnProgression.
image_classifier::image_classifier | ( | LEARNPROGRESSION | LearnProgress = 0 | ) |
Definition at line 23 of file image_classifier.cpp.
References LearnProgression.
|
inlinevirtual |
Definition at line 53 of file image_classifier.h.
|
inlinevirtual |
Reimplemented in image_classification_forest, and image_classification_tree.
Definition at line 55 of file image_classifier.h.
|
pure virtual |
Implemented in image_classification_forest, and image_classification_tree.
|
pure virtual |
Implemented in image_classification_tree, and image_classification_forest.
|
pure virtual |
Implemented in image_classification_tree, and image_classification_forest.
|
inlinevirtual |
Reimplemented in image_classification_forest, and image_classification_tree.
Definition at line 56 of file image_classifier.h.
|
pure virtual |
Implemented in image_classification_tree, and image_classification_forest.
int image_classifier::class_number |
Definition at line 65 of file image_classifier.h.
Referenced by image_classification_forest::change_class_number_and_reset_probabilities(), image_classification_forest::create_trees_at_random(), image_classification_forest::image_classification_forest(), image_classifier(), image_classification_tree::load(), image_classification_forest::load(), image_classification_forest::posterior_probabilities(), image_classification_forest::recognize(), image_classification_forest::refine(), image_classification_forest::restore_occurances(), image_classification_tree::save(), image_classification_forest::save(), image_classification_forest::test(), and image_classification_tree::test().
int image_classifier::image_height |
Definition at line 64 of file image_classifier.h.
Referenced by image_classification_forest::create_trees_at_random(), image_classifier(), image_classification_tree::load(), image_classification_forest::load(), and image_classification_tree::save().
int image_classifier::image_width |
Definition at line 64 of file image_classifier.h.
Referenced by image_classification_forest::create_trees_at_random(), image_classifier(), image_classification_tree::load(), image_classification_forest::load(), and image_classification_tree::save().
LEARNPROGRESSION image_classifier::LearnProgression |
Definition at line 62 of file image_classifier.h.
Referenced by image_classification_forest::create_trees_at_random(), image_classifier(), image_classification_forest::refine(), and image_classification_forest::test().