Darwin
1.10(beta)
|
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 | |
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.