Read@CVL
rdf::WriterRetrieval Class Reference

#include <WriterRetrieval.h>

Inheritance diagram for rdf::WriterRetrieval:
Collaboration diagram for rdf::WriterRetrieval:

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< WriterRetrievalConfigconfig () 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< 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::WriterRetrieval::WriterRetrieval ( cv::Mat  img)

Initializes a new instance of the WriterRetrieval class.

Parameters
imgThe img.

Member Function Documentation

bool rdf::WriterRetrieval::compute ( )
overridevirtual

Computes feature for the image. If a xmlPath is set the keypoints are also filterd according to the text regions.

Returns

Implements rdf::Module.

QSharedPointer< WriterRetrievalConfig > rdf::WriterRetrieval::config ( ) const

Returns the WriterRetrievalConfig

Returns
cv::Mat rdf::WriterRetrieval::draw ( const cv::Mat &  img) const

Draws the keypoinst which were calculated in the compute method

Parameters
imgThe img.
Returns
cv::Mat rdf::WriterRetrieval::getFeature ( )

Returns the feature (does not calculate the feature!)

Returns
void rdf::WriterRetrieval::setXmlPath ( std::string  xmlPath)

Sets the XML path.

Parameters
xmlPathThe XML path.
QString rdf::WriterRetrieval::toString ( ) const
overridevirtual

To the string.

Returns

Reimplemented from rdf::Module.


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