PARP Research Group University of Murcia, Spain


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 <qvipp.h>
#include <qvio.h>
#include <QVApplication>
#include <QVMPlayerReaderBlock>
#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 identificator. See section Video source identifier URL formats 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.