Read@CVL
rdf::TabStopAnalysis Class Reference

#include <TabStopAnalysis.h>

Inheritance diagram for rdf::TabStopAnalysis:
Collaboration diagram for rdf::TabStopAnalysis:

Public Member Functions

 TabStopAnalysis (const PixelSet &set=PixelSet())
 
bool isEmpty () const override
 Returns true if the module was initialized with the default constructor. Note, if empty is true, nothing can be computed. More...
 
bool compute () override
 Runs the algorithm implemented by the module. More...
 
QSharedPointer< TabStopConfigconfig () const
 
cv::Mat draw (const cv::Mat &img) const
 
QString toString () const override
 Converts the module's parameters and results to a string. More...
 
QVector< QSharedPointer< TabStopCluster > > tabStopClusters () const
 
QVector< LinetabStopLines (double offset=0.0) const
 
- Public Member Functions inherited from rdf::Module
 Module ()
 Default constructor Initializes a new instance of the Module class. More...
 
virtual QString name () const
 Returns the module's name. More...
 
virtual void setConfig (QSharedPointer< ModuleConfig > config)
 
QSharedPointer< ModuleConfigconfig () const
 

Additional Inherited Members

- Protected Member Functions inherited from rdf::Module
QString debugName () const
 
- Protected Attributes inherited from rdf::Module
QSharedPointer< ModuleConfigmConfig
 

Constructor & Destructor Documentation

rdf::TabStopAnalysis::TabStopAnalysis ( const PixelSet set = PixelSet())

Member Function Documentation

bool rdf::TabStopAnalysis::compute ( )
overridevirtual

Runs the algorithm implemented by the module.

Returns
True on success.

Implements rdf::Module.

QSharedPointer< TabStopConfig > rdf::TabStopAnalysis::config ( ) const
cv::Mat rdf::TabStopAnalysis::draw ( const cv::Mat &  img) const
bool rdf::TabStopAnalysis::isEmpty ( ) const
overridevirtual

Returns true if the module was initialized with the default constructor. Note, if empty is true, nothing can be computed.

Returns
Returns true if the module was initialized.

Implements rdf::Module.

QVector< QSharedPointer< TabStopCluster > > rdf::TabStopAnalysis::tabStopClusters ( ) const
QVector< Line > rdf::TabStopAnalysis::tabStopLines ( double  offset = 0.0) const
QString rdf::TabStopAnalysis::toString ( ) const
overridevirtual

Converts the module's parameters and results to a string.

Returns
The string containing all parameters and results of the module.

Reimplemented from rdf::Module.


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