PARP Research Group Universidad de Murcia


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 <qvip.h>
#include <qvipp.h>
#include <QVApplication>
#include <QVVideoReaderBlock>
#include <QVDefaultGUI>
#include <QVImageCanvas>

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 artifically corrupt the input images of a video sequence with a binary mask image and reconstruct them using an image inpainting algorithm implemented in the IPP library.

Usage

Simply compile, and execute the binary:

        ./inpaint --URL=<uri for input video> --Mask=<mask image file name>
Parameters:
URL Video source identification string. See section QVMPlayerURLFormat for further info about its format.
Mask Name for the image mask file. It must be a grayscale image, where pixels with a value different from zero will be considered corrupted from every frame of the given input video. The mask image is scaled to the dimensions of each frame of the input video before applying the inpainting algorithm.
Author:
PARP Research Group. University of Murcia, Spain.

Definition in file inpaint.cpp.




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