Read@CVL
|
Abstract class PixelConnector. This is the base class for all pixel connecting classes which implement different algorithms for connecting super pixels. More...
#include <PixelSet.h>
Public Member Functions | |
PixelConnector () | |
virtual QVector< QSharedPointer< PixelEdge > > | connect (const QVector< QSharedPointer< Pixel > > &pixels) const =0 |
void | setDistanceFunction (const PixelDistance::PixelDistanceFunction &distFnc) |
void | setStopLines (const QVector< Line > &stopLines) |
Sets the stop lines. Edges that intersect with stop lines are removed. More... | |
Protected Member Functions | |
QVector< QSharedPointer< PixelEdge > > | filter (QVector< QSharedPointer< PixelEdge > > &edges) const |
Protected Attributes | |
PixelDistance::PixelDistanceFunction | mDistanceFnc |
QVector< Line > | mStopLines |
Abstract class PixelConnector. This is the base class for all pixel connecting classes which implement different algorithms for connecting super pixels.
rdf::PixelConnector::PixelConnector | ( | ) |
|
protected |
void rdf::PixelConnector::setDistanceFunction | ( | const PixelDistance::PixelDistanceFunction & | distFnc | ) |
void rdf::PixelConnector::setStopLines | ( | const QVector< Line > & | stopLines | ) |
Sets the stop lines. Edges that intersect with stop lines are removed.
stopLines | The stop lines. |
|
protected |
|
protected |