PARP Research Group University of Murcia, Spain


examples/CGAL/convexHull/convexHull.cpp File Reference

Obtains the convex hull of a set of points. More...

#include <stdio.h>
#include <stdlib.h>
#include <iostream>
#include <math.h>
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
#include <CGAL/convex_hull_2.h>
#include <QVApplication>
#include <QVMPlayerReaderBlock>
#include <QVDefaultGUI>
#include <QVImageCanvas>
#include <QVPolylineF>
#include <QVHarrisPointDetector>

Go to the source code of this file.


Detailed Description

Obtains the convex hull of a set of points.

This application detects a set of feature points on each frame of the input video sequence, and shows the corresponding Convex hull on an image canvas.

An example plot of that triangulation can be seen in the following image:

cgal-convex-hull.png

This application uses CGAL functionality to obtain the triangulation.

Usage

Once compiled, the program should be used with this command line:
        ./convexhull --URL=<path or url to video>

Parameters:
URL Video source identificator. See section Video source identifier URL formats for further info about its format.
Author:
PARP Research Group. University of Murcia, Spain.

Definition in file convexHull.cpp.




QVision framework. PARP research group, copyright 2007, 2008.