PARP Research Group Universidad de Murcia


examples/OpenCV/delaunay/delaunay.cpp File Reference

Obtains the Delaunay triangulation for a set of points. More...

#include <stdio.h>
#include <stdlib.h>
#include <iostream>
#include <math.h>
#include <QDebug>
#include <QThread>
#include <QVApplication>
#include <QVVideoReaderBlock>
#include <QVDefaultGUI>
#include <QVImageCanvas>
#include <QVPolylineF>
#include <QVHarrisPointDetector>
#include <qvip.h>
#include <qvimageio.h>

Go to the source code of this file.


Detailed Description

Obtains the Delaunay triangulation for a set of points.

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

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

opencv-delaunay.png

This application uses OpenCV functionality to obtain the triangulation.

Usage

Once compiled, the program should be used with this command line:

        ./delaunay --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 delaunay.cpp.




QVision framework. PARP research group. Copyright © 2007, 2008, 2009, 2010, 2011.