src/qvip/qvpolylinef.h File Reference
File from the QVision library.
More...
#include <QPointF>
#include <qvipp.h>
#include <QVImage>
Go to the source code of this file.
|
Classes |
class | QVPolylineF |
| Floating point polyline representation.
A polyline is a continuous line composed of one or more straight line segments. A QVPolylineF is a implementation of a polyline, specified by a list of the points located at the intersection of the segments. Thus, any QVPolylineF object inherits from the class QList<QPointF>. More...
|
Functions |
double | IterativePointElimination (const QVPolylineF &polyline, QVPolylineF &result, const double param, bool maxNumberOfPointsMethod=FALSE, bool intersectLines=TRUE, double *max_removed_cost=NULL) |
| 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.
- Author:
- PARP Research Group. University of Murcia, Spain.
Definition in file qvpolylinef.h.