ReadFramework
rdf::GridPixel Class Reference

#include <SuperPixel.h>

Inheritance diagram for rdf::GridPixel:
Collaboration diagram for rdf::GridPixel:

Public Member Functions

 GridPixel (int index=-1, int numColumns=-1)
 
bool operator== (const GridPixel &gpr)
 
void compute (const cv::Mat &mag, const cv::Mat &phase, const cv::Mat &weight=cv::Mat())
 
bool isDead () const
 
void kill ()
 
void move (const Vector2D &vec)
 
int row () const
 
int col () const
 
int orIdx () const
 
double edgeStrength () const
 
Ellipse ellipse () const
 
void draw (QPainter &p) const
 
int index (int row, int col) const
 
QVector< int > neighbors () const
 
QSharedPointer< PixeltoPixel () 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
 
virtual void scale (double factor)
 

Additional Inherited Members

- Protected Attributes inherited from rdf::BaseElement
QString mId
 

Constructor & Destructor Documentation

rdf::GridPixel::GridPixel ( int  index = -1,
int  numColumns = -1 
)

Member Function Documentation

int rdf::GridPixel::col ( ) const

Here is the caller graph for this function:

void rdf::GridPixel::compute ( const cv::Mat &  mag,
const cv::Mat &  phase,
const cv::Mat &  weight = cv::Mat() 
)
void rdf::GridPixel::draw ( QPainter &  p) const
double rdf::GridPixel::edgeStrength ( ) const
Ellipse rdf::GridPixel::ellipse ( ) const
int rdf::GridPixel::index ( int  row,
int  col 
) const
bool rdf::GridPixel::isDead ( ) const
void rdf::GridPixel::kill ( )
void rdf::GridPixel::move ( const Vector2D vec)
QVector< int > rdf::GridPixel::neighbors ( ) const
bool rdf::GridPixel::operator== ( const GridPixel gpr)
int rdf::GridPixel::orIdx ( ) const
int rdf::GridPixel::row ( ) const

Here is the caller graph for this function:

QSharedPointer< Pixel > rdf::GridPixel::toPixel ( ) const

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