|
ReadFramework
|
#include <LayoutAnalysis.h>


Public Member Functions | |
| LayoutAnalysis (const cv::Mat &img) | |
| 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< LayoutAnalysisConfig > | config () const |
| cv::Mat | draw (const cv::Mat &img, const QColor &col=QColor()) const |
| QString | toString () const override |
| Converts the module's parameters and results to a string. More... | |
| void | setRootRegion (const QSharedPointer< RootRegion > ®ion) |
| TextBlockSet | textBlockSet () const |
| QVector< SeparatorRegion > | stopLines () const |
| PixelSet | pixels () const |
| QSharedPointer< ScaleFactory > | scaleFactory () 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< ModuleConfig > | config () const |
Additional Inherited Members | |
Protected Member Functions inherited from rdf::Module | |
| QString | debugName () const |
Protected Attributes inherited from rdf::Module | |
| QSharedPointer< ModuleConfig > | mConfig |
| rdf::LayoutAnalysis::LayoutAnalysis | ( | const cv::Mat & | img | ) |
|
overridevirtual |
Runs the algorithm implemented by the module.
Implements rdf::Module.

| QSharedPointer< LayoutAnalysisConfig > rdf::LayoutAnalysis::config | ( | ) | const |

| cv::Mat rdf::LayoutAnalysis::draw | ( | const cv::Mat & | img, |
| const QColor & | col = QColor() |
||
| ) | const |

|
overridevirtual |
Returns true if the module was initialized with the default constructor. Note, if empty is true, nothing can be computed.
Implements rdf::Module.
| PixelSet rdf::LayoutAnalysis::pixels | ( | ) | const |
| QSharedPointer< ScaleFactory > rdf::LayoutAnalysis::scaleFactory | ( | ) | const |
| void rdf::LayoutAnalysis::setRootRegion | ( | const QSharedPointer< RootRegion > & | region | ) |

| QVector< SeparatorRegion > rdf::LayoutAnalysis::stopLines | ( | ) | const |

| TextBlockSet rdf::LayoutAnalysis::textBlockSet | ( | ) | const |

|
overridevirtual |
Converts the module's parameters and results to a string.
Reimplemented from rdf::Module.