Unified Image Codec sample- Image Inpainting

This feature restores unknown image pixels (portions), part of Intel® IPP Computer Vision functionality. It operates with ROI (Regions of Interest). This feature could be used to repair damaged parts of images and to remove some objects from images. Fast direct methods of inpainting that allow for run-time correcting of video frames are supported.

Inpainting.bmp

Main function used to reconstructs damaged parts of the image or to remove a selected object is ippiInpaint_8u. To know more about this function, refer to Intel® IPP Image and Video Processing manual - /en-us/

As shown in the above picture, two algorithms of direct inpainting are supported, 1.Telea, 2.Navier-Stokes.

Algorithm

Flag

Description

Telea

IPP_INPAINT_TELEA

image restoration of the unknown pixel by the weighted sum of approximations by known pixels in the neighborhood.

Navier-Stokes

IPP_INPAINT_NS

image restoration based on the Navier-Stokes equations.


Image Inpainting Example:-
Inpainting-2.bmp

To download IPP sample code - /en-us/intel-ipp and click "Free Code Samples"

To know more about ‘Picnic' application - /en-us/articles/intel-ipp-uic-sample-application-picnic

Einzelheiten zur Compiler-Optimierung finden Sie in unserem Optimierungshinweis.