This class configures the feature collection process. It controls I/O paths for feature labels and feature cache files and the normalization process through the read settings file.
More...
#include <SuperPixelTrainer.h>
|
| void | load (const QSettings &settings) override |
| |
| void | save (QSettings &settings) const override |
| |
| template<class num > |
| num | checkParam (num param, num min, num max, const QString &name) const |
| |
This class configures the feature collection process. It controls I/O paths for feature labels and feature cache files and the normalization process through the read settings file.
- See also
- ModuleConfig
| rdf::SuperPixelLabelerConfig::SuperPixelLabelerConfig |
( |
| ) |
|
Initializes a new instance of the SuperPixelLabelerConfig class. This class configures the feature collection process.
| QString rdf::SuperPixelLabelerConfig::backgroundLabelName |
( |
| ) |
const |
| QString rdf::SuperPixelLabelerConfig::featureFilePath |
( |
| ) |
const |
Full file path to the feature cache file. This file is the collection's output and contains all features collected.
- Returns
| QString rdf::SuperPixelLabelerConfig::labelConfigFilePath |
( |
| ) |
const |
Full file path to the label config file. The label config file configures the labeling process (e.g. if TextRegion is handwritten or printed).
- Returns
| void rdf::SuperPixelLabelerConfig::load |
( |
const QSettings & |
settings | ) |
|
|
overrideprotectedvirtual |
| int rdf::SuperPixelLabelerConfig::maxNumFeaturesPerClass |
( |
| ) |
const |
The maximum number of features collected per class.
- Returns
| int rdf::SuperPixelLabelerConfig::maxNumFeaturesPerImage |
( |
| ) |
const |
Sepcify the maximum number of images collected per image.
- Returns
| int rdf::SuperPixelLabelerConfig::minNumFeaturesPerClass |
( |
| ) |
const |
If less features are found for a class, it is not saved.
- Returns
| void rdf::SuperPixelLabelerConfig::save |
( |
QSettings & |
settings | ) |
const |
|
overrideprotectedvirtual |
| QString rdf::SuperPixelLabelerConfig::toString |
( |
| ) |
const |
|
overridevirtual |
| QString rdf::SuperPixelLabelerConfig::mBackgroundLabelName = "" |
|
protected |
| QString rdf::SuperPixelLabelerConfig::mFeatureFilePath |
|
protected |
| QString rdf::SuperPixelLabelerConfig::mLabelConfigFilePath |
|
protected |
| int rdf::SuperPixelLabelerConfig::mMaxNumFeaturesPerClass = 10000 |
|
protected |
| int rdf::SuperPixelLabelerConfig::mMaxNumFeaturesPerImage = 1000000 |
|
protected |
| int rdf::SuperPixelLabelerConfig::mMinNumFeaturesPerClass = 10000 |
|
protected |
The documentation for this class was generated from the following files: