|
X-Boost
2.3.8
|
#include <SourceDataSet.h>
Inherits TPreprocessorType, and DataSet< Aggregator >.
Public Types | |
| typedef DataSetHandle< Aggregator > | DataSetType |
| the dataset (contains DataType plus additional data) | |
Public Types inherited from DataSet< Aggregator > | |
| typedef DataSetHandle< Aggregator > | ViewType |
| typedef DataSet< Aggregator > | StoreType |
Public Types inherited from DataSetHandle< Aggregator > | |
| typedef DataSetHandle< Aggregator > | ViewType |
| a soft copy of the set | |
| typedef DataSet< Aggregator > | StoreType |
| an hard copy of the set | |
Public Member Functions | |
| bool | ImportImage (const ImageHandle &image, int category) |
| Import an Image and transform it using "Preprocessor". | |
| void | SetExportFolder (const std::string &folder) |
| Set the folder where store pattern generated in the dataset. | |
Public Member Functions inherited from DataSetHandle< Aggregator > | |
| template<class SrcAggregator > | |
| DataSetHandle (const DataSetHandle< SrcAggregator > &src) | |
| void | Clear () |
| Reset (but not release memory) | |
| unsigned int | Size () const |
| Return number of allocated samples (complete size of DataSet) | |
| void | SetParams (const ParamType &src) |
| const ParamType & | GetParams () const |
| void | Insert (const PatternType &p) |
| add a new pattern to the list | |
| void | Release () |
| Force, manually, to release memory in data. | |
| template<class SrcAggregator > | |
| void | operator= (const DataSetHandle< SrcAggregator > &src) |
| void | Import (const DataType &data, int category) |
Additional Inherited Members | |
Public Attributes inherited from DataSetHandle< Aggregator > | |
|
DECLARE_AGGREGATOR typedef std::vector< PatternType > | ListType |
| unsigned int | n_patternP |
| unsigned int | n_patternN |
| ListType | templates |
| a collection of Pattern used in this dataset | |
Data Set used to load effectively data. Il SourceDataSet contains the effective data storage (DataSet<PatternType>) and the Preprocessor used to convert a sample imagine in Data.
| PreprocessorType | a "preprocessor" used to convert an image in the DataType |
| PatternType | must import a DataType from Preprocessor |
1.8.7