Read@CVL
rdf::LocalOrientation Class Reference

Local orientation estimation (using Il Koo's method). More...

#include <SuperPixel.h>

Inheritance diagram for rdf::LocalOrientation:
Collaboration diagram for rdf::LocalOrientation:

Public Member Functions

 LocalOrientation (const PixelSet &set=PixelSet())
 
bool isEmpty () const override
 Returns true if the module was initialized with the default constructor. Note, if empty is true, nothing can be computed. More...
 
bool compute () override
 Runs the algorithm implemented by the module. More...
 
QString toString () const override
 Converts the module's parameters and results to a string. More...
 
QSharedPointer< LocalOrientationConfigconfig () const
 
PixelSet set () const
 
cv::Mat draw (const cv::Mat &img, const QString &id, double radius) const
 
- Public Member Functions inherited from rdf::Module
 Module ()
 Default constructor Initializes a new instance of the Module class. 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
 

Detailed Description

Local orientation estimation (using Il Koo's method).

See also
Module

Constructor & Destructor Documentation

rdf::LocalOrientation::LocalOrientation ( const PixelSet set = PixelSet())

Member Function Documentation

bool rdf::LocalOrientation::compute ( )
overridevirtual

Runs the algorithm implemented by the module.

Returns
True on success.

Implements rdf::Module.

QSharedPointer< LocalOrientationConfig > rdf::LocalOrientation::config ( ) const
cv::Mat rdf::LocalOrientation::draw ( const cv::Mat &  img,
const QString &  id,
double  radius 
) const
bool rdf::LocalOrientation::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::LocalOrientation::set ( ) const
QString rdf::LocalOrientation::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: