examples/rotoscoper/rotoscoper.cpp File Reference

Composes component tree image filtering and canny operator for making animation like images from real images. More...

#include <stdio.h>
#include <stdlib.h>
#include <iostream>
#include <QDebug>
#include <qvcore/qvapplication.h>
#include <qvcameras/qvmplayercamera.h>
#include <qvgui/qvgui.h>
#include <qvdta/qvdta.h>
#include <qvdta/qvcomponenttree.h>

Go to the source code of this file.


Detailed Description

Composes component tree image filtering and canny operator for making animation like images from real images.

About the rotoscoper.

This example program performs image filtering over a video input, mixing component tree pruning and canny operator filtering, to get rotoscoped-like effect over the frames of a real image input video:

rotoscopedSolana.png

The program is designed using three different workers, that share thread safe data and synchronize themselves, so all of them iterate one time over each input frame. Follows the data flow scheme for these workers:

rotoscoperDataFlow.png

Usage

Simply compile and call the program using the following line:

        ./roroscoper --URL=<path or url to video>

URL command line parameter should contain the name of a video file, or a video source identificator. See QVMPlayerCamera for details about video source identificators.

Author:
PARP Research Group. University of Murcia, Spain.

Definition in file rotoscoper.cpp.


Generated on Fri Feb 22 18:26:56 2008 for QVision by  doxygen 1.5.3