|
|
| drwnPatchMatchImageRecord () |
| | default constructor
|
| |
|
| drwnPatchMatchImageRecord (uint16_t width, uint16_t height) |
| | constructor
|
| |
|
| ~drwnPatchMatchImageRecord () |
| | destructor
|
| |
|
uint16_t | width () const |
| | image width
|
| |
|
uint16_t | height () const |
| | image height
|
| |
|
size_t | size () const |
| | number of pixels in image (width * height)
|
| |
|
void | clear () |
| | clears all matches for this image
|
| |
|
uint16_t | x (int indx) const |
| | convert from index to x pixel coordinate
|
| |
|
uint16_t | y (int indx) const |
| | convert from index to x pixel coordinate
|
| |
|
cv::Point | index2pixel (int indx) const |
| | convert from index to pixel coordinates
|
| |
|
int | pixel2index (uint16_t x, uint16_t y) const |
| | convert from pixel coordinates to index
|
| |
|
bool | update (int indx, const drwnPatchMatchEdge &match) |
| | updates edge list for pixel at index indx with a candidate match and returns true if match is better than existing matches
|
| |
|
bool | update (uint16_t x, uint16_t y, const drwnPatchMatchEdge &match) |
| | updates edge list for pixel (x,y) with a candidate match and returns true if match is better than existing matches
|
| |
|
drwnPatchMatchEdgeList & | operator() (uint16_t x, uint16_t y) |
| | reference edges at location (x, y)
|
| |
|
const drwnPatchMatchEdgeList & | operator() (uint16_t x, uint16_t y) const |
| | reference edges at location (x, y)
|
| |
|
drwnPatchMatchEdgeList & | operator[] (int indx) |
| | reference edges at index indx
|
| |
|
const drwnPatchMatchEdgeList & | operator[] (int indx) const |
| | reference edges at index indx
|
| |
Records matches for one level in an image pyramid.