examples/inpaint/inpaint.cpp File Reference

Does inpaint reconstruction over artificialy damaged frames from a video input source. More...

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

Go to the source code of this file.


Detailed Description

Does inpaint reconstruction over artificialy damaged frames from a video input source.

This program will receive a path or url to a video file, and then will show the reconstruction of every frame of that video, previously eliminating a fixed set of pixels from it. The file mask.gif contains a grayscale image, where pixels with a value different from zero will be erased from every frame of the given video. Those frames are later reconstructed with inpainting functionality of the QVIPP package, before being shown to the user.

Usage

Simply compile, and execute the binary:
        ./inpaint --URL=<uri for input video> --Mask=<mask image file name>

Parameters:
URL Video source identificator. See dynamic property URL for QVMPlayerCamera.
Mask Name for the image mask file.
Author:
PARP Research Group. University of Murcia, Spain.

Definition in file inpaint.cpp.


Generated on Thu Mar 13 19:18:16 2008 for QVision by  doxygen 1.5.3