src/qvip/qvpolylinef.cpp File Reference
File from the QVision library. Contains operations on polylines.
More...
#include <QVPolyline>
#include <QVPolylineF>
#include <qvdefines.h>
#include <qvmatrixalgebra.h>
#include <iostream>
#include <float.h>
Go to the source code of this file.
|
Functions |
double | IterativePointElimination (const QVPolylineF &polyline, QVPolylineF &result, const double param, bool maxNumberOfPointsMethod, bool intersectLines, double *max_removed_cost) |
| Simplifies a contour eliminating points of little area using IPE algorithm
This function eliminates points of a QVPolylineF, simplificating it. Points are recursively eliminated while a) their distance to the line joining its two immediate neighbours is smaller than a given maximum value, or b) the number of points of the approximated polyline falls below a given number (depending on the chosen method).
|
Detailed Description
File from the QVision library. Contains operations on polylines.
- Author:
- PARP Research Group. University of Murcia, Spain.
Definition in file qvpolylinef.cpp.