#include <LayoutAnalysis.h>
rdf::LayoutAnalysis::LayoutAnalysis |
( |
const cv::Mat & |
img | ) |
|
bool rdf::LayoutAnalysis::compute |
( |
| ) |
|
|
overridevirtual |
Runs the algorithm implemented by the module.
- Returns
- True on success.
Implements rdf::Module.
cv::Mat rdf::LayoutAnalysis::draw |
( |
const cv::Mat & |
img, |
|
|
const QColor & |
col = QColor() |
|
) |
| const |
bool rdf::LayoutAnalysis::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.
PixelSet rdf::LayoutAnalysis::pixels |
( |
| ) |
const |
QSharedPointer< ScaleFactory > rdf::LayoutAnalysis::scaleFactory |
( |
| ) |
const |
void rdf::LayoutAnalysis::setRootRegion |
( |
const QSharedPointer< RootRegion > & |
region | ) |
|
QString rdf::LayoutAnalysis::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: