ReadFramework
|
#include <Pixel.h>
Public Member Functions | |
LineEdge () | |
LineEdge (const PixelEdge &pe) | |
LineEdge (const QSharedPointer< Pixel > first, const QSharedPointer< Pixel > second, const QString &id=QString()) | |
virtual double | edgeWeightConst () const override |
Public Member Functions inherited from rdf::PixelEdge | |
PixelEdge () | |
PixelEdge (const QSharedPointer< Pixel > first, const QSharedPointer< Pixel > second, const QString &id=QString()) | |
virtual bool | lessThan (const PixelEdge &e) const |
bool | isNull () const |
void | setEdgeWeightFunction (PixelDistance::EdgeWeightFunction &fnc) |
virtual double | edgeWeight () |
Line | edge () const |
QSharedPointer< Pixel > | first () const |
QSharedPointer< Pixel > | second () const |
void | scale (double s) override |
void | draw (QPainter &p) const |
Public Member Functions inherited from rdf::BaseElement | |
BaseElement (const QString &id=QString()) | |
This class keeps an ID to keep track of transformed elements during a processing chain. You can e.g. generate Pixel elements from MserBlobs. After filtering, processing etc. you can map back to the (pixel accurate) MserBlob using this ID. More... | |
void | setId (const QString &id) |
Sets the (preferably unique) ID. If no ID is set, a unqiue ID is generated and assigned. More... | |
QString | id () const |
Returns the elment's id. More... | |
virtual QString | toString () const |
Protected Member Functions | |
double | statsWeight (const QSharedPointer< Pixel > &pixel) const |
double | calcWeight () const |
Protected Attributes | |
double | mEdgeWeight = 0.0 |
Protected Attributes inherited from rdf::PixelEdge | |
bool | mIsNull = true |
double | mEdgeWeight = DBL_MAX |
PixelDistance::EdgeWeightFunction | mWeightFnc = PixelDistance::spacingWeighted |
QSharedPointer< Pixel > | mFirst |
QSharedPointer< Pixel > | mSecond |
Line | mEdge |
Protected Attributes inherited from rdf::BaseElement | |
QString | mId |
Friends | |
DllCoreExport bool | operator< (const QSharedPointer< LineEdge > &le1, const QSharedPointer< LineEdge > &le2) |
rdf::LineEdge::LineEdge | ( | ) |
rdf::LineEdge::LineEdge | ( | const PixelEdge & | pe | ) |
rdf::LineEdge::LineEdge | ( | const QSharedPointer< Pixel > | first, |
const QSharedPointer< Pixel > | second, | ||
const QString & | id = QString() |
||
) |
|
protected |
|
overridevirtual |
Reimplemented from rdf::PixelEdge.
|
protected |
|
friend |
|
protected |