PARP Research Group Universidad de Murcia


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 <QVVideoReaderBlock>
#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 identification string. See section QVMPlayerURLFormat 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, 2009, 2010, 2011.