|
X-Boost
2.3.8
|
#include <MultiClassDataSet.h>
Inherits MultiClassDataSetHandle< PatternType >.
Public Types | |
|
typedef MultiClassDataSetHandle < PatternType > | ViewType |
|
typedef MultiClassDataSet < PatternType > | StoreType |
Public Types inherited from MultiClassDataSetHandle< PatternType > | |
| typedef PatternType::DataType | DataType |
| Inner DataType. | |
| typedef PatternType | PatternType |
| the pattern type | |
|
typedef DataSetHandle < PatternType > | ViewType |
| a soft copy | |
| typedef DataSet< PatternType > | StoreType |
| an hard copy | |
Additional Inherited Members | |
Public Member Functions inherited from MultiClassDataSetHandle< PatternType > | |
| MultiClassDataSetHandle (int n_classes) | |
| MultiClassDataSetHandle (const MultiClassDataSetHandle< R > &src) | |
| DataSet conversion. | |
| void | Clear () |
| Reset (but not release memory) | |
| unsigned int | Width () const |
| training pattern geometry: width | |
| unsigned int | Height () const |
| training pattern geometry: height | |
| unsigned int | Size () const |
| Return number of allocated samples (complete size of DataSet) | |
| void | SetGeometry (unsigned int width, unsigned int height) |
| void | Insert (const PatternType &p) |
| add a new pattern to the list | |
| void | Release () |
| Force, manually, to release memory in data. | |
| void | operator= (const DataSetHandle< R > &src) |
| copy operator (do not release old memory) | |
| void | Import (const DataType &data, int category) |
Public Attributes inherited from MultiClassDataSetHandle< PatternType > | |
| unsigned int | width |
| unsigned int | height |
| std::vector< unsigned int > | n_pattern |
| std::vector< PatternType > | templates |
| a collection of Pattern used in this dataset | |
an auto release DataSetHandle
1.8.7