Top Banner
Region Filling and Obj ect Removal by Exemplar-Based Image I npainting
23

Region Filling and Object Removal by Exemplar-Based Image Inpainting.

Dec 21, 2015

Download

Documents

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Region Filling and Object Removal by Exemplar-Based Image Inpainting.

Region Filling and Object Removal by

Exemplar-Based Image Inpainting

Page 2: Region Filling and Object Removal by Exemplar-Based Image Inpainting.

IntroductionIntroduction

Page 3: Region Filling and Object Removal by Exemplar-Based Image Inpainting.

A new algorithm is proposed for removing large objects from digital images.

this problem has been addressed by two classes of algorithms:

1) “texture synthesis” algorithms for generating large image regions from sample textures

2) “inpainting” techniques for filling in small image gaps.

Page 4: Region Filling and Object Removal by Exemplar-Based Image Inpainting.

Key ObservationsKey Observations A. Exemplar-Based Synthesis Suffices

Page 5: Region Filling and Object Removal by Exemplar-Based Image Inpainting.

B. Filling Order Is Critical

Page 6: Region Filling and Object Removal by Exemplar-Based Image Inpainting.

AlgorithmAlgorithm Each pixel maintains a color value (or “empty,” if the p

ixel is unfilled) and a confidence value.

Algorithm iterates the following three steps until all pixels have been filled.

1) Computing Patch Priorities 2) Propagating Texture and Structure Information 3) Updating Confidence Values

Page 7: Region Filling and Object Removal by Exemplar-Based Image Inpainting.

1) Computing Patch Priorities the priority computation is biased toward

those patches which 1) are on the continuation of strong edges. 2) are surrounded by high-confidence pixels.

Given a patch centered at the point p for

some , we define its priority as the product of two terms

Page 8: Region Filling and Object Removal by Exemplar-Based Image Inpainting.

C(p) the confidence term that measure of the amount of C(p) the confidence term that measure of the amount of reliable information surrounding the pixel p.reliable information surrounding the pixel p.

Page 9: Region Filling and Object Removal by Exemplar-Based Image Inpainting.

D(p) the data term that is a function of the strength of isophotes hitting the front at each iteration. D(p) the data term that is a function of the strength of isophotes hitting the front at each iteration.

(1) np estimated as the unit vector orthogonal to the line through the preceding and the successive points in the list

(2) is computed as the maximum value of the image gradient in .Robust filtering techniques may also be employed here.

Page 10: Region Filling and Object Removal by Exemplar-Based Image Inpainting.

2) Propagating Texture and Structure Information propagate image texture by direct sampling of the sour

ce region.

the distance between two generic patches and is simply defined as the sum of squared differences

Page 11: Region Filling and Object Removal by Exemplar-Based Image Inpainting.

Synthesizing One PixelSynthesizing One Pixel

SAMPLE

Infinite sample image

Generated image

Instead of constructing a model, let’s directly search the

input image for all such neighbourhoods to

produce a histogram for p

Page 12: Region Filling and Object Removal by Exemplar-Based Image Inpainting.

Really Synthesizing One PixelReally Synthesizing One Pixel

SAMPLE

finite sample image Generated image

However, since our sample image is finite, an exact neighbourhood match might not be present

So we find the best match using SSD error (weighted by a Gaussian to emphasize local structure), and take all samples within some distance from that match

Page 13: Region Filling and Object Removal by Exemplar-Based Image Inpainting.

3) Updating Confidence Values: After the patch has been filled with new pixel values, the confidence is updated in the area delimited by

Page 14: Region Filling and Object Removal by Exemplar-Based Image Inpainting.
Page 15: Region Filling and Object Removal by Exemplar-Based Image Inpainting.

Results And ComparionsResults And Comparions

Page 16: Region Filling and Object Removal by Exemplar-Based Image Inpainting.

TimeTime

Page 17: Region Filling and Object Removal by Exemplar-Based Image Inpainting.

Shape of the selectShape of the select

Page 18: Region Filling and Object Removal by Exemplar-Based Image Inpainting.
Page 19: Region Filling and Object Removal by Exemplar-Based Image Inpainting.

Hand-drawHand-draw

Page 20: Region Filling and Object Removal by Exemplar-Based Image Inpainting.

Large objectLarge object

Page 21: Region Filling and Object Removal by Exemplar-Based Image Inpainting.
Page 22: Region Filling and Object Removal by Exemplar-Based Image Inpainting.
Page 23: Region Filling and Object Removal by Exemplar-Based Image Inpainting.

ENDEND

THANKS EVERYONETHANKS EVERYONE