ReadFramework
rdf::GridPixelConfig Class Reference

Configuration class for GridSuperPixel. More...

#include <SuperPixel.h>

Inheritance diagram for rdf::GridPixelConfig:
Collaboration diagram for rdf::GridPixelConfig:

Public Member Functions

 GridPixelConfig ()
 
virtual QString toString () const override
 
bool autoWindowSize () const
 
void estimateWindowSize (int height, int numTiles=100)
 
int winSize () const
 
double winOverlap () const
 
double minEnergy () const
 
bool applyLineMask () const
 
- 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

bool mAutoWinSize = true
 
int mWinSize = 5
 
double mWinOverlap = 0.5
 
double mMinEnergy = 0.07
 
bool mLineMask = true
 
- Protected Attributes inherited from rdf::ModuleConfig
QString mModuleName
 

Detailed Description

Configuration class for GridSuperPixel.

See also
ModuleConfig

Constructor & Destructor Documentation

rdf::GridPixelConfig::GridPixelConfig ( )

Member Function Documentation

bool rdf::GridPixelConfig::applyLineMask ( ) const

Here is the caller graph for this function:

bool rdf::GridPixelConfig::autoWindowSize ( ) const

Here is the caller graph for this function:

void rdf::GridPixelConfig::estimateWindowSize ( int  height,
int  numTiles = 100 
)
void rdf::GridPixelConfig::load ( const QSettings &  settings)
overrideprotectedvirtual

Reimplemented from rdf::ModuleConfig.

double rdf::GridPixelConfig::minEnergy ( ) const

Here is the caller graph for this function:

void rdf::GridPixelConfig::save ( QSettings &  settings) const
overrideprotectedvirtual

Reimplemented from rdf::ModuleConfig.

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

Reimplemented from rdf::ModuleConfig.

double rdf::GridPixelConfig::winOverlap ( ) const

Here is the caller graph for this function:

int rdf::GridPixelConfig::winSize ( ) const

Here is the caller graph for this function:

Member Data Documentation

bool rdf::GridPixelConfig::mAutoWinSize = true
protected
bool rdf::GridPixelConfig::mLineMask = true
protected
double rdf::GridPixelConfig::mMinEnergy = 0.07
protected
double rdf::GridPixelConfig::mWinOverlap = 0.5
protected
int rdf::GridPixelConfig::mWinSize = 5
protected

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