ReadFramework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
rdf::SuperPixelLabelerConfig Class Reference

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>

Inheritance diagram for rdf::SuperPixelLabelerConfig:
Collaboration diagram for rdf::SuperPixelLabelerConfig:

Public Member Functions

 SuperPixelLabelerConfig ()
 
QString featureFilePath () const
 
QString labelConfigFilePath () const
 
int maxNumFeaturesPerImage () const
 
int minNumFeaturesPerClass () const
 
int maxNumFeaturesPerClass () const
 
virtual QString toString () const override
 
- Public Member Functions inherited from rdf::ModuleConfig
 ModuleConfig (const QString &moduleName="Generic Module")
 
void loadSettings ()
 Loads the settings. More...
 
void saveSettings ()
 Saves the settings. More...
 
QString name () const
 

Protected Member Functions

void load (const QSettings &settings) override
 
void save (QSettings &settings) const override
 

Protected Attributes

QString mFeatureFilePath
 
QString mLabelConfigFilePath
 
int mMaxNumFeaturesPerImage = 10000
 
int mMinNumFeaturesPerClass = 1000000
 
int mMaxNumFeaturesPerClass = 10000
 
- Protected Attributes inherited from rdf::ModuleConfig
QString mModuleName
 

Detailed Description

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

Constructor & Destructor Documentation

rdf::SuperPixelLabelerConfig::SuperPixelLabelerConfig ( )

Member Function Documentation

QString rdf::SuperPixelLabelerConfig::featureFilePath ( ) const
QString rdf::SuperPixelLabelerConfig::labelConfigFilePath ( ) const
void rdf::SuperPixelLabelerConfig::load ( const QSettings &  settings)
overrideprotectedvirtual

Reimplemented from rdf::ModuleConfig.

int rdf::SuperPixelLabelerConfig::maxNumFeaturesPerClass ( ) const
int rdf::SuperPixelLabelerConfig::maxNumFeaturesPerImage ( ) const
int rdf::SuperPixelLabelerConfig::minNumFeaturesPerClass ( ) const
void rdf::SuperPixelLabelerConfig::save ( QSettings &  settings) const
overrideprotectedvirtual

Reimplemented from rdf::ModuleConfig.

QString rdf::SuperPixelLabelerConfig::toString ( ) const
overridevirtual

Reimplemented from rdf::ModuleConfig.

Member Data Documentation

QString rdf::SuperPixelLabelerConfig::mFeatureFilePath
protected
QString rdf::SuperPixelLabelerConfig::mLabelConfigFilePath
protected
int rdf::SuperPixelLabelerConfig::mMaxNumFeaturesPerClass = 10000
protected
int rdf::SuperPixelLabelerConfig::mMaxNumFeaturesPerImage = 10000
protected
int rdf::SuperPixelLabelerConfig::mMinNumFeaturesPerClass = 1000000
protected

The documentation for this class was generated from the following files: