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 | edgeWeight () const override |
![]() | |
PixelEdge () | |
PixelEdge (const QSharedPointer< Pixel > first, const QSharedPointer< Pixel > second, const QString &id=QString()) | |
bool | isNull () const |
Line | edge () const |
void | draw (QPainter &p) const |
QSharedPointer< Pixel > | first () const |
QSharedPointer< Pixel > | second () const |
![]() | |
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... | |
QString | id () const |
Returns the elment's id. More... | |
Protected Member Functions | |
double | statsWeight (const QSharedPointer< Pixel > &pixel) const |
double | calcWeight () const |
Protected Attributes | |
double | mStatsWeight = 0.0 |
![]() | |
bool | mIsNull = true |
QSharedPointer< Pixel > | mFirst |
QSharedPointer< Pixel > | mSecond |
Line | mEdge |
![]() | |
QString | mId |
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 |
|
protected |