Read@CVL
rdf::SuperPixelConfig Class Reference

Configuration class for MserSuperPixel. More...

#include <SuperPixel.h>

Inheritance diagram for rdf::SuperPixelConfig:
Collaboration diagram for rdf::SuperPixelConfig:

Public Member Functions

 SuperPixelConfig ()
 
virtual QString toString () const override
 
int mserMinArea () const
 The minimum SuperPixel area in pixel. NOTE: the segmented pixels are summed up rather than its resulting ellipses. More...
 
int mserMaxArea () const
 The maximum SuperPixel area in pixel. NOTE: the segmented pixels are summed up rather than its resulting ellipses. More...
 
int erosionStep () const
 The erosion step in pixel. The kernelsize is iteratively increased when computing the erosion layers. More...
 
void setNumErosionLayers (int numLayers)
 
int numErosionLayers () const
 Numbers the erosion layers. The image is iteratively eroded in order to split cursive handwriting. Specify how many erosion layers should be created - when testing 3 seemed to be a good trade-off between accuracy and speed. More...
 
- Public Member Functions inherited from rdf::ModuleConfig
 ModuleConfig (const QString &moduleName="Generic Module")
 
void loadSettings ()
 
void loadSettings (QSettings &settings)
 
void saveSettings () const
 
void saveSettings (QSettings &settings) const
 
void saveDefaultSettings () const
 
virtual void saveDefaultSettings (QSettings &settings) const
 
QString name () const
 

Protected Member Functions

void load (const QSettings &settings) override
 
void save (QSettings &settings) const override
 
- Protected Member Functions inherited from rdf::ModuleConfig
template<class num >
num checkParam (num param, num min, num max, const QString &name) const
 

Protected Attributes

int mMserMinArea = 25
 
int mMserMaxArea = 500
 
int mErosionStep = 4
 
int mNumErosionLayers = 3
 
- Protected Attributes inherited from rdf::ModuleConfig
QString mModuleName
 

Detailed Description

Configuration class for MserSuperPixel.

See also
ModuleConfig

Constructor & Destructor Documentation

rdf::SuperPixelConfig::SuperPixelConfig ( )

Member Function Documentation

int rdf::SuperPixelConfig::erosionStep ( ) const

The erosion step in pixel. The kernelsize is iteratively increased when computing the erosion layers.

Returns
void rdf::SuperPixelConfig::load ( const QSettings &  settings)
overrideprotectedvirtual

Reimplemented from rdf::ModuleConfig.

int rdf::SuperPixelConfig::mserMaxArea ( ) const

The maximum SuperPixel area in pixel. NOTE: the segmented pixels are summed up rather than its resulting ellipses.

Returns
int rdf::SuperPixelConfig::mserMinArea ( ) const

The minimum SuperPixel area in pixel. NOTE: the segmented pixels are summed up rather than its resulting ellipses.

Returns
int rdf::SuperPixelConfig::numErosionLayers ( ) const

Numbers the erosion layers. The image is iteratively eroded in order to split cursive handwriting. Specify how many erosion layers should be created - when testing 3 seemed to be a good trade-off between accuracy and speed.

Returns
void rdf::SuperPixelConfig::save ( QSettings &  settings) const
overrideprotectedvirtual

Reimplemented from rdf::ModuleConfig.

void rdf::SuperPixelConfig::setNumErosionLayers ( int  numLayers)
QString rdf::SuperPixelConfig::toString ( ) const
overridevirtual

Reimplemented from rdf::ModuleConfig.

Member Data Documentation

int rdf::SuperPixelConfig::mErosionStep = 4
protected
int rdf::SuperPixelConfig::mMserMaxArea = 500
protected
int rdf::SuperPixelConfig::mMserMinArea = 25
protected
int rdf::SuperPixelConfig::mNumErosionLayers = 3
protected

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