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
drwnPatchMatchEdge Class Reference

Represents an edge in the drwnPatchMatchGraph. More...

Public Member Functions

 drwnPatchMatchEdge ()
 default constructor
 drwnPatchMatchEdge (float score, const drwnPatchMatchNode &node, const drwnPatchMatchTransform &patchXform)
size_t numBytesOnDisk () const
 number of bytes needed on disk
bool read (istream &is)
 read from a stream (deserialization)
bool write (ostream &os) const
 write to a stream (serialization)
bool operator< (const drwnPatchMatchEdge &e) const
 default comparison for sorting

Public Attributes

float matchScore
 score of this match
drwnPatchMatchNode targetNode
 index of image, pyramid level and location of patch
drwnPatchMatchTransform xform
 transformation applied to the patch
drwnPatchMatchStatus status
 status flag

Detailed Description

Represents an edge in the drwnPatchMatchGraph.

This class stores a reference to a target patch in another image. The source of the patch is implicit in how the edge is stored in drwnPatchMatchGraph.

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