Read@CVL
rdf::ScaleSpaceSuperPixel< SuperPixelModule > Class Template Reference

Creates a scale space and runs the SuperPixelModule on each scale. Use this class to extract SuperPixels that are robust w.r.t. scale changes. More...

#include <SuperPixelScaleSpace.h>

Inheritance diagram for rdf::ScaleSpaceSuperPixel< SuperPixelModule >:
Collaboration diagram for rdf::ScaleSpaceSuperPixel< SuperPixelModule >:

Public Member Functions

 ScaleSpaceSuperPixel (const cv::Mat &img)
 
bool compute () override
 Runs the algorithm implemented by the module. More...
 
cv::Mat draw (const cv::Mat &img, const QColor &col=QColor()) const
 
QString toString () const override
 Converts the module's parameters and results to a string. More...
 
QSharedPointer< ScaleSpaceSPConfigconfig () const
 
- Public Member Functions inherited from rdf::SuperPixelBase
 SuperPixelBase (const cv::Mat &img)
 
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...
 
virtual PixelSet pixelSet () const
 
void setPyramidLevel (int level)
 
int pyramidLevel ()
 
- 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::SuperPixelBase
bool checkInput () const override
 
- Protected Member Functions inherited from rdf::Module
QString debugName () const
 
- Protected Attributes inherited from rdf::SuperPixelBase
cv::Mat mSrcImg
 
PixelSet mSet
 
int mPyramidLevel = 0
 
- Protected Attributes inherited from rdf::Module
QSharedPointer< ModuleConfigmConfig
 

Detailed Description

template<class SuperPixelModule>
class rdf::ScaleSpaceSuperPixel< SuperPixelModule >

Creates a scale space and runs the SuperPixelModule on each scale. Use this class to extract SuperPixels that are robust w.r.t. scale changes.

Constructor & Destructor Documentation

template<class SuperPixelModule >
rdf::ScaleSpaceSuperPixel< SuperPixelModule >::ScaleSpaceSuperPixel ( const cv::Mat &  img)
inline

Member Function Documentation

template<class SuperPixelModule >
bool rdf::ScaleSpaceSuperPixel< SuperPixelModule >::compute ( )
inlineoverridevirtual

Runs the algorithm implemented by the module.

Returns
True on success.

Implements rdf::Module.

template<class SuperPixelModule >
QSharedPointer<ScaleSpaceSPConfig> rdf::ScaleSpaceSuperPixel< SuperPixelModule >::config ( ) const
inline
template<class SuperPixelModule >
cv::Mat rdf::ScaleSpaceSuperPixel< SuperPixelModule >::draw ( const cv::Mat &  img,
const QColor &  col = QColor() 
) const
inline
template<class SuperPixelModule >
QString rdf::ScaleSpaceSuperPixel< SuperPixelModule >::toString ( ) const
inlineoverridevirtual

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 file: