ReadFramework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
rdf::WriterRetrieval Class Reference

#include <WriterRetrieval.h>

Public Member Functions

 WriterRetrieval ()
 Initializes a new instance of the WriterIdentification class. More...
 
void setImage (cv::Mat img)
 Sets the image. More...
 
void calculateFeatures ()
 Calculates the SIFT features of the image. More...
 
void saveFeatures (QString filePath)
 Saves the SIFT features to the given file path. More...
 
void loadFeatures (QString filePath)
 Loads the features from the given file path. More...
 
void setKeyPoints (QVector< cv::KeyPoint > kp)
 Sets the key points for this Writer Identification task. More...
 
QVector< cv::KeyPoint > keyPoints () const
 Returns the keypoints of the SIFT features. More...
 
void setDescriptors (cv::Mat desc)
 Sets the descriptors for this Writer Identification task. More...
 
cv::Mat descriptors () const
 Returns the descriptors of the SIFT features More...
 

Constructor & Destructor Documentation

rdf::WriterRetrieval::WriterRetrieval ( )

Initializes a new instance of the WriterIdentification class.

Member Function Documentation

void rdf::WriterRetrieval::calculateFeatures ( )

Calculates the SIFT features of the image.

cv::Mat rdf::WriterRetrieval::descriptors ( ) const

Returns the descriptors of the SIFT features

Returns
QVector< cv::KeyPoint > rdf::WriterRetrieval::keyPoints ( ) const

Returns the keypoints of the SIFT features.

Returns
keypoints
void rdf::WriterRetrieval::loadFeatures ( QString  filePath)

Loads the features from the given file path.

Parameters
filePathThe file path.
void rdf::WriterRetrieval::saveFeatures ( QString  filePath)

Saves the SIFT features to the given file path.

Parameters
filePathThe file path.
void rdf::WriterRetrieval::setDescriptors ( cv::Mat  desc)

Sets the descriptors for this Writer Identification task.

Parameters
descThe descriptors.
void rdf::WriterRetrieval::setImage ( cv::Mat  img)

Sets the image.

Parameters
imgThe img.
void rdf::WriterRetrieval::setKeyPoints ( QVector< cv::KeyPoint >  kp)

Sets the key points for this Writer Identification task.

Parameters
kpThe keypoints.

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