Read@CVL
rdf::SuperPixelBase Class Reference

Base class implementation for SuperPixel generating modules. More...

#include <SuperPixel.h>

Inheritance diagram for rdf::SuperPixelBase:
Collaboration diagram for rdf::SuperPixelBase:

Public Member Functions

 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 QString toString () const
 Converts the module's parameters and results to a string. More...
 
virtual bool compute ()=0
 Runs the algorithm implemented by the module. More...
 
virtual void setConfig (QSharedPointer< ModuleConfig > config)
 
QSharedPointer< ModuleConfigconfig () const
 

Protected Member Functions

bool checkInput () const override
 
- Protected Member Functions inherited from rdf::Module
QString debugName () const
 

Protected Attributes

cv::Mat mSrcImg
 
PixelSet mSet
 
int mPyramidLevel = 0
 
- Protected Attributes inherited from rdf::Module
QSharedPointer< ModuleConfigmConfig
 

Detailed Description

Base class implementation for SuperPixel generating modules.

See also
Module

Constructor & Destructor Documentation

rdf::SuperPixelBase::SuperPixelBase ( const cv::Mat &  img)

Member Function Documentation

bool rdf::SuperPixelBase::checkInput ( ) const
overrideprotectedvirtual

checks if all input images are in the specified format.

Implements rdf::Module.

Reimplemented in rdf::LineSuperPixel.

bool rdf::SuperPixelBase::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::SuperPixelBase::pixelSet ( ) const
virtual
int rdf::SuperPixelBase::pyramidLevel ( )
void rdf::SuperPixelBase::setPyramidLevel ( int  level)

Member Data Documentation

int rdf::SuperPixelBase::mPyramidLevel = 0
protected
PixelSet rdf::SuperPixelBase::mSet
protected
cv::Mat rdf::SuperPixelBase::mSrcImg
protected

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