Public Member Functions | |
int | read (const char *fileName) |
int | setCount (const int &count) |
void | getSourcePosition (const int &destinationX, const int &destinationY, float &sourceX, float &sourceY) const |
Public Attributes | |
int | count |
OrientedLineSegment * | segments1 |
OrientedLineSegment * | segments2 |
|
This method sets the value of the source pixel position (sourceX,sourceY), given the destination pixel position. It computes the source position prescribed by each of the line segment pairs and sets the final source position as the weighted average. |
|
This method reads in the line segment pairs from a file. |
|
This method manages the memory allocation, allocating enough memory for the desired number of line segment pairs. |
|
The number of line segment pairs. |
|
An ordererd list of the corresponding line segment pairs. |
|
An ordererd list of the corresponding line segment pairs. |