#include <SkewEstimation.h>
rdf::TextLineSkew::TextLineSkew |
( |
const cv::Mat & |
img = cv::Mat() | ) |
|
bool rdf::TextLineSkew::checkInput |
( |
| ) |
const |
|
overrideprotectedvirtual |
checks if all input images are in the specified format.
Implements rdf::Module.
bool rdf::TextLineSkew::compute |
( |
| ) |
|
|
virtual |
Runs the algorithm implemented by the module.
- Returns
- True on success.
Implements rdf::Module.
cv::Mat rdf::TextLineSkew::draw |
( |
const cv::Mat & |
img | ) |
const |
double rdf::TextLineSkew::getAngle |
( |
| ) |
|
bool rdf::TextLineSkew::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.
cv::Mat rdf::TextLineSkew::rotated |
( |
const cv::Mat & |
img | ) |
const |
QString rdf::TextLineSkew::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.
double rdf::TextLineSkew::mAngle = 0.0 |
|
protected |
cv::Mat rdf::TextLineSkew::mImg |
|
protected |
QSharedPointer<ScaleFactory> rdf::TextLineSkew::mScaleFactory |
|
protected |
The documentation for this class was generated from the following files: