ReadFramework
|
SuperPixel generator based on the LSD line detector. More...
#include <SuperPixel.h>
Public Member Functions | |
LineSuperPixel (const cv::Mat &img) | |
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< LinePixelConfig > | config () const |
cv::Mat | draw (const cv::Mat &img) 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< ModuleConfig > | config () const |
Protected Member Functions | |
bool | checkInput () const override |
Protected Member Functions inherited from rdf::Module | |
QString | debugName () const |
Protected Attributes | |
QVector< Line > | mLines |
Protected Attributes inherited from rdf::SuperPixelBase | |
cv::Mat | mSrcImg |
PixelSet | mSet |
int | mPyramidLevel = 0 |
Protected Attributes inherited from rdf::Module | |
QSharedPointer< ModuleConfig > | mConfig |
SuperPixel generator based on the LSD line detector.
rdf::LineSuperPixel::LineSuperPixel | ( | const cv::Mat & | img | ) |
|
overrideprotectedvirtual |
checks if all input images are in the specified format.
Reimplemented from rdf::SuperPixelBase.
|
overridevirtual |
Runs the algorithm implemented by the module.
Implements rdf::Module.
QSharedPointer< LinePixelConfig > rdf::LineSuperPixel::config | ( | ) | const |
cv::Mat rdf::LineSuperPixel::draw | ( | const cv::Mat & | img | ) | const |
|
overridevirtual |
Converts the module's parameters and results to a string.
Reimplemented from rdf::Module.
|
protected |