Darwin  1.10(beta)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Public Attributes | List of all members
drwnPatchMatchNode Class Reference

Represents a node in the drwnPatchMatchGraph. More...

Public Member Functions

 drwnPatchMatchNode (uint16_t idx, uint8_t sc, uint16_t x, uint16_t y)
 
 drwnPatchMatchNode (uint16_t idx, uint8_t sc, const cv::Point &p)
 
bool operator< (const drwnPatchMatchNode &node) const
 default comparison for sorting
 
bool operator== (const drwnPatchMatchNode &node) const
 equality operator
 

Public Attributes

uint16_t imgIndx
 index of image (in drwnPatchMatchGraph) for this match
 
uint8_t imgScale
 level in the image pyramid for the match
 
uint16_t xPosition
 x location of the patch in the target pyramid level
 
uint16_t yPosition
 y location of the patch in the target pyramid level
 

Detailed Description

Represents a node in the drwnPatchMatchGraph.

Includes image index, scale (i.e., pyramid level), and index of the top left pixel. The patch size is stored in the drwnPatchMatchGraph data structure.

The precision of the data members allows for up to 64 thousand images of size 64k-by-64k.


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