Read@CVL
rdf::LayoutAnalysisConfig Class Reference

#include <LayoutAnalysis.h>

Inheritance diagram for rdf::LayoutAnalysisConfig:
Collaboration diagram for rdf::LayoutAnalysisConfig:

Public Member Functions

 LayoutAnalysisConfig ()
 
virtual QString toString () const override
 
void setRemoveWeakTextLines (bool remove)
 
bool removeWeakTextLines () const
 
void setMinSuperPixelsPerBlock (int minPx)
 
int minSuperixelsPerBlock () const
 
void setLocalBlockOrientation (bool lor)
 
bool localBlockOrientation () const
 
void setComputeSeparators (bool cs)
 
bool computeSeparators () const
 
void setClassiferPath (const QString &cp)
 
QString classifierPath () 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 mRemoveWeakTextLines = true
 
int mMinSuperPixelsPerBlock = 15
 
bool mLocalBlockOrientation = false
 
bool mComputeSeparators = true
 
QString mClassifierPath = ""
 
- Protected Attributes inherited from rdf::ModuleConfig
QString mModuleName
 

Constructor & Destructor Documentation

rdf::LayoutAnalysisConfig::LayoutAnalysisConfig ( )

Member Function Documentation

QString rdf::LayoutAnalysisConfig::classifierPath ( ) const
bool rdf::LayoutAnalysisConfig::computeSeparators ( ) const
void rdf::LayoutAnalysisConfig::load ( const QSettings &  settings)
overrideprotectedvirtual

Reimplemented from rdf::ModuleConfig.

bool rdf::LayoutAnalysisConfig::localBlockOrientation ( ) const
int rdf::LayoutAnalysisConfig::minSuperixelsPerBlock ( ) const
bool rdf::LayoutAnalysisConfig::removeWeakTextLines ( ) const
void rdf::LayoutAnalysisConfig::save ( QSettings &  settings) const
overrideprotectedvirtual

Reimplemented from rdf::ModuleConfig.

void rdf::LayoutAnalysisConfig::setClassiferPath ( const QString &  cp)
void rdf::LayoutAnalysisConfig::setComputeSeparators ( bool  cs)
void rdf::LayoutAnalysisConfig::setLocalBlockOrientation ( bool  lor)
void rdf::LayoutAnalysisConfig::setMinSuperPixelsPerBlock ( int  minPx)
void rdf::LayoutAnalysisConfig::setRemoveWeakTextLines ( bool  remove)
QString rdf::LayoutAnalysisConfig::toString ( ) const
overridevirtual

Reimplemented from rdf::ModuleConfig.

Member Data Documentation

QString rdf::LayoutAnalysisConfig::mClassifierPath = ""
protected
bool rdf::LayoutAnalysisConfig::mComputeSeparators = true
protected
bool rdf::LayoutAnalysisConfig::mLocalBlockOrientation = false
protected
int rdf::LayoutAnalysisConfig::mMinSuperPixelsPerBlock = 15
protected
bool rdf::LayoutAnalysisConfig::mRemoveWeakTextLines = true
protected

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