Read@CVL
|
#include <WriterRetrieval.h>
Public Member Functions | |
WriterRetrieval (cv::Mat img) | |
Initializes a new instance of the WriterRetrieval class. More... | |
bool | compute () override |
Computes feature for the image. If a xmlPath is set the keypoints are also filterd according to the text regions. More... | |
QSharedPointer< WriterRetrievalConfig > | config () const |
Returns the WriterRetrievalConfig More... | |
cv::Mat | getFeature () |
Returns the feature (does not calculate the feature!) More... | |
void | setXmlPath (std::string xmlPath) |
Sets the XML path. More... | |
cv::Mat | draw (const cv::Mat &img) const |
Draws the keypoinst which were calculated in the compute method More... | |
QString | toString () const override |
To the string. More... | |
Public Member Functions inherited from rdf::Module | |
Module () | |
Default constructor Initializes a new instance of the Module class. More... | |
virtual bool | isEmpty () const =0 |
Returns true if the module was initialized with the default constructor. Note, if empty is true, nothing can be computed. 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::WriterRetrieval::WriterRetrieval | ( | cv::Mat | img | ) |
Initializes a new instance of the WriterRetrieval class.
img | The img. |
|
overridevirtual |
Computes feature for the image. If a xmlPath is set the keypoints are also filterd according to the text regions.
Implements rdf::Module.
QSharedPointer< WriterRetrievalConfig > rdf::WriterRetrieval::config | ( | ) | const |
Returns the WriterRetrievalConfig
cv::Mat rdf::WriterRetrieval::draw | ( | const cv::Mat & | img | ) | const |
Draws the keypoinst which were calculated in the compute method
img | The img. |
cv::Mat rdf::WriterRetrieval::getFeature | ( | ) |
Returns the feature (does not calculate the feature!)
void rdf::WriterRetrieval::setXmlPath | ( | std::string | xmlPath | ) |
Sets the XML path.
xmlPath | The XML path. |
|
overridevirtual |