Blending Methods and Other Improvements for Exemplar-based Image Inpainting Techniques

Similar documents
Tour route planning problem with consideration of the attraction congestion

An Appointment Overbooking Model To Improve Client Access and Provider Productivity

"Free at Last" Cage-based Living Geometry

Anomaly Detection in airlines schedules. Asmaa Fillatre Data Scientist, Amadeus

Formulation of Lagrangian stochastic models for geophysical turbulent flows

An Analytical Approach to the BFS vs. DFS Algorithm Selection Problem 1

Bioinformatics of Protein Domains: New Computational Approach for the Detection of Protein Domains

A Study of Tradeoffs in Airport Coordinated Surface Operations

Application of Queueing Theory to Airport Related Problems

A Statistical Method for Eliminating False Counts Due to Debris, Using Automated Visual Inspection for Probe Marks

Springer Proceedings in Mathematics

Integrated Optimization of Arrival, Departure, and Surface Operations

Nav Specs and Procedure Design Module 12 Activities 8 and 10. European Airspace Concept Workshops for PBN Implementation

Optimising throughput of rail dump stations, via simulation and control system changes. Rob Angus BMT WBM Pty Ltd Brisbane 5 June 2013

Kernel Principal Component Analysis and its Applications in Face Recognition and Active Shape Models

AUTOMATIC GLACIER SURFACE ANALYSIS FROM AIRBORNE LASER SCANNING

I. The legacy of the Ancient Greeks

THE PROBABILICTIC APPROACH TO MODELLING OF AN OPTIMAL UNDERWATER PIPELINE ROUT UNDER IMPACT OF HUMMOCKS

Modeling Visitor Movement in Theme Parks

Preemptive Rerouting of Airline Passengers under. Uncertain Delays

GEOGRAPHY OF GLACIERS 2

Time Benefits of Free-Flight for a Commercial Aircraft

Academic Research of Biometrics in Korea

Interactive x-via web analyses and simulation tool.

Demand Shifting across Flights and Airports in a Spatial Competition Model

Optimizing trajectories over the 4DWeatherCube

Ground Deformation Monitoring at Natural Gas Production Sites using Interferometric SAR

Assessment of the 3D-separation of Air Traffic Flows

FLOODS IN FRANCE Is there a change?

Towards New Metrics Assessing Air Traffic Network Interactions

The 2nd Glacier Inventory of China

A Duality Based Approach for Network Revenue Management in Airline Alliances

PRESENTATION OVERVIEW

Identification of Waves in IGC files

UC Berkeley Working Papers

The impact of scheduling on service reliability: trip-time determination and holding points in long-headway services

A Methodology for Integrated Conceptual Design of Aircraft Configuration and Operation to Reduce Environmental Impact

A Network Model to Simulate Airport Surface Operations

Impact of a new type of aircraft on ATM

Scalable Runtime Support for Data-Intensive Applications on the Single-Chip Cloud Computer

Organization of Multiple Airports in a Metropolitan Area

Solving Clustered Oversubscription Problems for Planning e-courses

Flying in a new dimension

Workshop on Advances in Public Transport Control and Operations, Stockholm, June 2017

Formal verification of small and micro UAS

= Coordination with Direct Communication

ON-TIME Final Event, Genoa, 28 October 2014

Retreating Glaciers of the Himalayas: A Case Study of Gangotri Glacier Using Satellite Images

Cross-sectional time-series analysis of airspace capacity in Europe

You Must Be At Least This Tall To Ride This Paper. Control 27

Laser ultrasound for the evaluation of additive manufactured parts

EVALUATION OF DIFFERENT METHODS FOR GLACIER MAPPING USING LANDSAT TM

Follow up to the implementation of safety and air navigation regional priorities XMAN: A CONCEPT TAKING ADVANTAGE OF ATFCM CROSS-BORDER EXCHANGES

A high resolution glacier model with debris effects in Bhutan Himalaya. Orie SASAKI Kanae Laboratory 2018/02/08 (Thu)

Todsanai Chumwatana, and Ichayaporn Chuaychoo Rangsit University, Thailand, {todsanai.c;

Measuring Productivity for Car Booking Solutions

SUPPLEMENTARY INFORMATION

AQME 10 System Description

J. Oerlemans - SIMPLE GLACIER MODELS

News about DECTRIS and PILATUS. Christian Broennimann CEO DECTRIS Ltd

Using Ant Algorithm to Arrange Taxiway Sequencing in Airport

Transportation Timetabling

AIRLINE-AIRPORT AGREEMENTS IN THE SAN FRANCISCO BAY AREA: EFFECTS ON AIRLINE BEHAVIOR AND CONGESTION AT AIRPORTS

TN 30: A WORK PLAN FOR THE DEVELOPMENT OF A MATHEMATICAL MODEL TO PREDICT AND EXPLAIN OVERNIGHT USE OF PARKS

Research Article Study on Fleet Assignment Problem Model and Algorithm

Including Linear Holding in Air Traffic Flow Management for Flexible Delay Handling

B0 FRTO, B0-NOPS, B0-ASUR and B0-ACAS Implementation in the AFI and MID Regions

A method for automated snow avalanche debris detection through use of synthetic aperture radar (SAR) imaging

North American Animated Flight Atlas

Curriculum vitae. Dr Tibor Lukić Associate Professor (updated )

Don t Sit on the Fence

Software project. Jana Szczurková CTU in Prague, FEE

Decentralized Path Planning For Air Traffic Management Wei Zhang

A RECURSION EVENT-DRIVEN MODEL TO SOLVE THE SINGLE AIRPORT GROUND-HOLDING PROBLEM

Time-Space Analysis Airport Runway Capacity. Dr. Antonio A. Trani. Fall 2017

Presentation: UAS Helicopter Waran -1-

Glacial lakes as sentinels of climate change in Central Himalaya, Nepal

data reports Ferrocenecarboxylic anhydride: a redetermination Structure description C. John McAdam and Jim Simpson*

Flight management during Concordiasi campaign

- Socrates Seitanidis

Ski / Sled tracks as an expression of avalanche risk Jordy Hendrikx 1 & Jerry Johnson 2,1 1.

Analysis of Air Transportation Systems. Airport Capacity

Time Series Evapotranspiration Mapping Using Landsat-TM and MODIS Data

An Assessment on the Cost Structure of the UK Airport Industry: Ownership Outcomes and Long Run Cost Economies

The use of HICO in the Southern Benguela: Saldanha Bay case study

SUMMARY. of the North. Reference: A B

Using of space technologies for glacierand snow- related hazards studies

Future Airport Concept (Increasing the Airport Capacity)

OPTIMAL PUSHBACK TIME WITH EXISTING UNCERTAINTIES AT BUSY AIRPORT

Variable Geometry Option.

Optimizing AMAN-SMAN-DMAN at Hamburg and Arlanda airport

Spatial Assessment for the revised Mpumalanga Biodiversity Expansion Strategy. Mervyn Lotter Scientific Services 8 June 2016

At-A-Glance. SIAM 2017 Events Mobile App

Gateway Location Models

ERASMUS. Strategic deconfliction to benefit SESAR. Rosa Weber & Fabrice Drogoul

Evolution of Ossoue glacier, French Pyrenees: Tools and methods to generate a regional climate-proxy

Network Revenue Management

Field Report Snow and Ice Processes AGF212

Airport capacity constraints & air travellers airport choice behaviour from global constraints to local effects

Glide Slope Control Authority for Parafoil Canopies with Variable Incidence Angle

Transcription:

Blending Methods and Other Improvements for Exemplar-based Image Inpainting Techniques Maxime Daisy, Pierre Buyssens, David Tschumperlé and Olivier Lézoray GREYC - CNRS UMR 6072, Image team 9 th of April 2015

Context D. Tschumperlé (GREYC, Caen - FRANCE) Journée Imagerie Rouen 9 th of April 2015 2 / 45

Context D. Tschumperlé (GREYC, Caen - FRANCE) Journée Imagerie Rouen 9 th of April 2015 2 / 45

Context D. Tschumperlé (GREYC, Caen - FRANCE) Journée Imagerie Rouen 9 th of April 2015 2 / 45

Context D. Tschumperlé (GREYC, Caen - FRANCE) Journée Imagerie Rouen 9 th of April 2015 2 / 45

Context D. Tschumperlé (GREYC, Caen - FRANCE) Journée Imagerie Rouen 9 th of April 2015 2 / 45

Context Geometry-based methods [Masnou et al. 98, Bertalmio et al. 00, Chan et al. 01, Tschumperlé and Deriche 03,...] boundary geometry interpolation Good global geometry reconstruction Not able to create complex textures Time consuming D. Tschumperlé (GREYC, Caen - FRANCE) Journée Imagerie Rouen 9 th of April 2015 3 / 45

Masked image D. Tschumperlé (GREYC, Caen - FRANCE) Journée Imagerie Rouen 9 th of April 2015 4 / 45

Inpainted with Diffusion PDE s [Tschumperlé and Deriche 03] D. Tschumperlé (GREYC, Caen - FRANCE) Journée Imagerie Rouen 9 th of April 2015 4 / 45

Context Pattern-based methods [Efros and Leung 99, Criminisi et al. 04, Lemeur et al. 11,...] copy/paste of image chunks Large area reconstruction Quite fast Not enough local/global coherence e.g. block-effect artifacts Best compromise between time and quality D. Tschumperlé (GREYC, Caen - FRANCE) Journée Imagerie Rouen 9 th of April 2015 5 / 45

Context Criminisi et al. 2004, "Region Filling and Object Removal by Exemplar-Based Image Inpainting" D. Tschumperlé (GREYC, Caen - FRANCE) Journée Imagerie Rouen 9 th of April 2015 6 / 45

Masked image D. Tschumperlé (GREYC, Caen - FRANCE) Journée Imagerie Rouen 9 th of April 2015 7 / 45

Inpainted with [Criminisi et al. 04] D. Tschumperlé (GREYC, Caen - FRANCE) Journée Imagerie Rouen 9 th of April 2015 7 / 45

Exemplar-based inpainting : Proposed improvements D. Tschumperlé (GREYC, Caen - FRANCE) Journée Imagerie Rouen 9 th of April 2015 8 / 45

Exemplar-based Inpainting Algorithm Proposed improvements 1 priority accuracy enhancement more global geometry consistency 2 better lookup statregy more local geometry consistency 3 spatial patch blending strongly reduced block-effect artifacts D. Tschumperlé (GREYC, Caen - FRANCE) Journée Imagerie Rouen 9 th of April 2015 9 / 45

A better data term accuracy Criminisi et al. data term D p = I p. n p (1) α "The gradient I p is computed as the maximum value of the image gradient in Ψ p I." I p = { I q arg max I q } (2) q ((I Ω) ψ p) D. Tschumperlé (GREYC, Caen - FRANCE) Journée Imagerie Rouen 9 th of April 2015 10 / 45

A better data term accuracy Proposed data term D p = G p. n p (3) with G p = w p (q) I q I T q (4) q ψ p (I Ω) w p : normalized 2d gaussian centered at p D. Tschumperlé (GREYC, Caen - FRANCE) Journée Imagerie Rouen 9 th of April 2015 11 / 45

A better lookup strategy Criminisi et al. 2014 lookup strategy window search? faster much less global all over the image search? slow not so much good results D. Tschumperlé (GREYC, Caen - FRANCE) Journée Imagerie Rouen 9 th of April 2015 12 / 45

A better lookup strategy Window search Iteration 0 D. Tschumperlé (GREYC, Caen - FRANCE) Journée Imagerie Rouen 9 th of April 2015 13 / 45

A better lookup strategy Window search Iteration n D. Tschumperlé (GREYC, Caen - FRANCE) Journée Imagerie Rouen 9 th of April 2015 13 / 45

A better lookup strategy Our lookup strategy inspired from [Ashikhmin 01, PatchMatch 09] local/global search scheme use search sites of surrounding inpainted patches more local coherence D. Tschumperlé (GREYC, Caen - FRANCE) Journée Imagerie Rouen 9 th of April 2015 14 / 45

A better lookup strategy D. Tschumperlé (GREYC, Caen - FRANCE) Journée Imagerie Rouen 9 th of April 2015 15 / 45

Joshua Tree - 512 384 Masked image D. Tschumperlé (GREYC, Caen - FRANCE) Journée Imagerie Rouen 9 th of April 2015 16 / 45

Joshua Tree - 512 384 Inpainted with windowed search (4.5s) D. Tschumperlé (GREYC, Caen - FRANCE) Journée Imagerie Rouen 9 th of April 2015 16 / 45

Joshua Tree - 512 384 Inpainted with smart search (3.2s) D. Tschumperlé (GREYC, Caen - FRANCE) Journée Imagerie Rouen 9 th of April 2015 16 / 45

Fake Owl - 800 450 Masked image D. Tschumperlé (GREYC, Caen - FRANCE) Journée Imagerie Rouen 9 th of April 2015 17 / 45

Fake Owl - 800 450 Inpainted with windowed search (1.7s) D. Tschumperlé (GREYC, Caen - FRANCE) Journée Imagerie Rouen 9 th of April 2015 17 / 45

Fake Owl - 800 450 Inpainted with smart search (0.8s) D. Tschumperlé (GREYC, Caen - FRANCE) Journée Imagerie Rouen 9 th of April 2015 17 / 45

block-effect artifacts? D. Tschumperlé (GREYC, Caen - FRANCE) Journée Imagerie Rouen 9 th of April 2015 18 / 45

Spatial Patch Blending D. Tschumperlé (GREYC, Caen - FRANCE) Journée Imagerie Rouen 9 th of April 2015 19 / 45

Spatial Patch Blending Masked image D. Tschumperlé (GREYC, Caen - FRANCE) Journée Imagerie Rouen 9 th of April 2015 20 / 45

Spatial Patch Blending Inpainted with [Criminisi et al. 04] D. Tschumperlé (GREYC, Caen - FRANCE) Journée Imagerie Rouen 9 th of April 2015 20 / 45

Spatial Patch Blending Inpainted with diffusion PDE s [Tschumperlé and Deriche 03] D. Tschumperlé (GREYC, Caen - FRANCE) Journée Imagerie Rouen 9 th of April 2015 20 / 45

Spatial Patch Blending Inpainted with [Criminisi et al. 04] + Our spatial patch blending D. Tschumperlé (GREYC, Caen - FRANCE) Journée Imagerie Rouen 9 th of April 2015 20 / 45

Artifact Detection Masked image D. Tschumperlé (GREYC, Caen - FRANCE) Journée Imagerie Rouen 9 th of April 2015 21 / 45

Artifact Detection Inpainted with [Criminisi et al. 04] D. Tschumperlé (GREYC, Caen - FRANCE) Journée Imagerie Rouen 9 th of April 2015 21 / 45

Artifact Detection 1 Map of the artifact location probabilities 2 hypothesis for artifact locations local sharp variations in the inpainted image source patches come from very different locations P A = I. div(φ) φ : inpainting correspondence map 2 Strongest artifact locations L A = {p P A (p) > τ} 3 Blending amplitude map σ(p) = ρ. w(p,q) q L A max r I q L A w(p,q) with w(p, q) = exp ) ( p q 2 P A (q) 2 (5) D. Tschumperlé (GREYC, Caen - FRANCE) Journée Imagerie Rouen 9 th of April 2015 22 / 45

Artifact Detection Inpainted image. D. Tschumperlé (GREYC, Caen - FRANCE) Journée Imagerie Rouen 9 th of April 2015 23 / 45

Artifact Detection Break field image. D. Tschumperlé (GREYC, Caen - FRANCE) Journée Imagerie Rouen 9 th of April 2015 23 / 45

Artifact Detection Break points. D. Tschumperlé (GREYC, Caen - FRANCE) Journée Imagerie Rouen 9 th of April 2015 23 / 45

Artifact Detection Blending amplitude map. D. Tschumperlé (GREYC, Caen - FRANCE) Journée Imagerie Rouen 9 th of April 2015 23 / 45

Patch Blending D. Tschumperlé (GREYC, Caen - FRANCE) Journée Imagerie Rouen 9 th of April 2015 24 / 45

Patch Blending Weighted sum of overlapping patches pixels values w(p, q). ψ q (p q) ψ q Ψ p J(p) = w(q, p) ψ q Ψ p ) w(p, q) = exp ( p q 2 σ(p) 2 Ψ p = {ψ q ψ q ψ p } (6) one gaussian function for each possible blending amplitude quite slow D. Tschumperlé (GREYC, Caen - FRANCE) Journée Imagerie Rouen 9 th of April 2015 25 / 45

A faster patch blending algorithm D. Tschumperlé (GREYC, Caen - FRANCE) Journée Imagerie Rouen 9 th of April 2015 26 / 45

Result Masked image D. Tschumperlé (GREYC, Caen - FRANCE) Journée Imagerie Rouen 9 th of April 2015 27 / 45

Result Inpainted image D. Tschumperlé (GREYC, Caen - FRANCE) Journée Imagerie Rouen 9 th of April 2015 28 / 45

Result Inpainted Image + Spatial patch blending D. Tschumperlé (GREYC, Caen - FRANCE) Journée Imagerie Rouen 9 th of April 2015 29 / 45

Block-effect artifacts? Masked image D. Tschumperlé (GREYC, Caen - FRANCE) Journée Imagerie Rouen 9 th of April 2015 30 / 45

Block-effect artifacts? Inpainted Image D. Tschumperlé (GREYC, Caen - FRANCE) Journée Imagerie Rouen 9 th of April 2015 30 / 45

Block-effect artifacts? Blended Image (isotropic) D. Tschumperlé (GREYC, Caen - FRANCE) Journée Imagerie Rouen 9 th of April 2015 30 / 45

Geometry-guided patch blending : process Anisotropic image regularization D. Tschumperlé (GREYC, Caen - FRANCE) Journée Imagerie Rouen 9 th of April 2015 31 / 45

Geometry-guided patch blending : process Anisotropic patch blending D. Tschumperlé (GREYC, Caen - FRANCE) Journée Imagerie Rouen 9 th of April 2015 32 / 45

Geometry-guided patch blending 1 Structure eigen values normalization ˆλ S(p)i = λ S(p) max p I λ S(p)i 2 Blending tensors eigen values computation 3 Blending tensor building 1 λ Bi = (1 + ˆλ S1 + ˆλ S2 ) γ i B = λ σb1 e S1.T e S1 + λ σb2e S2.T e S2 (7) e Si : structure tensor eigen vectors λ σbi = σ B λ Bi σ B : maximum blending bandwidth D. Tschumperlé (GREYC, Caen - FRANCE) Journée Imagerie Rouen 9 th of April 2015 33 / 45

Geometry-guided patch blending Weighted sum of overlapping patches pixels values using Eq. (6) with ) exp ( p q 2 isotropic σ(p) w(p, q) = ( 2 ) X exp T B(p) 1 X anisotropic where X = q p 2σ 2 B D. Tschumperlé (GREYC, Caen - FRANCE) Journée Imagerie Rouen 9 th of April 2015 34 / 45

block-effect artifacts? Masked image D. Tschumperlé (GREYC, Caen - FRANCE) Journée Imagerie Rouen 9 th of April 2015 35 / 45

block-effect artifacts? Inpainted image D. Tschumperlé (GREYC, Caen - FRANCE) Journée Imagerie Rouen 9 th of April 2015 35 / 45

block-effect artifacts? Blended image (isotropic) D. Tschumperlé (GREYC, Caen - FRANCE) Journée Imagerie Rouen 9 th of April 2015 35 / 45

block-effect artifacts? Blended image (geometry-guided) D. Tschumperlé (GREYC, Caen - FRANCE) Journée Imagerie Rouen 9 th of April 2015 35 / 45

Woman Masked image D. Tschumperlé (GREYC, Caen - FRANCE) Journée Imagerie Rouen 9 th of April 2015 36 / 45

Woman Without blending D. Tschumperlé (GREYC, Caen - FRANCE) Journée Imagerie Rouen 9 th of April 2015 36 / 45

Woman Isotropic patch blending D. Tschumperlé (GREYC, Caen - FRANCE) Journée Imagerie Rouen 9 th of April 2015 36 / 45

Woman Geometry-guided patch blending D. Tschumperlé (GREYC, Caen - FRANCE) Journée Imagerie Rouen 9 th of April 2015 36 / 45

Copter Masked image D. Tschumperlé (GREYC, Caen - FRANCE) Journée Imagerie Rouen 9 th of April 2015 37 / 45

Copter Copter + mask D. Tschumperlé (GREYC, Caen - FRANCE) Journée Imagerie Rouen 9 th of April 2015 37 / 45

Copter Inpainted + anisotropic patch blending D. Tschumperlé (GREYC, Caen - FRANCE) Journée Imagerie Rouen 9 th of April 2015 37 / 45

Opera Masked image D. Tschumperlé (GREYC, Caen - FRANCE) Journée Imagerie Rouen 9 th of April 2015 38 / 45

Opera Inpainted + anisotropic patch blending D. Tschumperlé (GREYC, Caen - FRANCE) Journée Imagerie Rouen 9 th of April 2015 38 / 45

Opera Inpainted without blending [Lemeur et al 11] D. Tschumperlé (GREYC, Caen - FRANCE) Journée Imagerie Rouen 9 th of April 2015 38 / 45

Video Inpainting D. Tschumperlé (GREYC, Caen - FRANCE) Journée Imagerie Rouen 9 th of April 2015 39 / 45

Adaptation to videos priorities computed frame by frame cobblestone patches (e.g. of size 5 5 3) and lookup windows Shown to be working in the state of the art Wexler et al. TPAMI 2007, "Space-time completion of Videos" Newson et al. SIAM J. Imaging sciences 2014, "Video inpainting of complex scenes" D. Tschumperlé (GREYC, Caen - FRANCE) Journée Imagerie Rouen 9 th of April 2015 40 / 45

Space-time artifacts Space-time patch blending D. Tschumperlé (GREYC, Caen - FRANCE) Journée Imagerie Rouen 9 th of April 2015 41 / 45

Adaptation to videos Space-time patch blending D. Tschumperlé (GREYC, Caen - FRANCE) Journée Imagerie Rouen 9 th of April 2015 42 / 45

Masked video : (x,y) and (x,t) plans D. Tschumperlé (GREYC, Caen - FRANCE) Journée Imagerie Rouen 9 th of April 2015 43 / 45

Inpainted video (without blending) D. Tschumperlé (GREYC, Caen - FRANCE) Journée Imagerie Rouen 9 th of April 2015 43 / 45

Blended Image (geometry-guided) D. Tschumperlé (GREYC, Caen - FRANCE) Journée Imagerie Rouen 9 th of April 2015 43 / 45

Conclusion Contributions 1 Improvements of a reference inpainting method 2 Method to reduce block-effect artifacts 3 Adaptation of (1) and (2) to video data Recent advances Depth-aware patch blending for stereoscopic inpainted results More results at https://daisy.users.greyc.fr/@research D. Tschumperlé (GREYC, Caen - FRANCE) Journée Imagerie Rouen 9 th of April 2015 44 / 45

References and publications References Wexler et al., Space-Time Video Completion, IEEE TPAMI 2007 Newson et al., Video Inpainting of Complex Scenes, SIAM J. IMAGING SCIENCES 2014 Publications Daisy M., Tschumperlé D. and Lézoray O., Spatial Patch Blending for Artefact Reduction in Pattern-Based Inpainting Techniques, CAIP 13 Daisy M., Tschumperlé D. and Lézoray O., A Fast Spatial Patch Blending Algorithm for Artefact Reduction in Pattern-based Image Inpainting, SIGGRAPH-ASIA 13 Daisy M., Buyssens P., Tschumperlé D. and Lézoray O., A smarter exemplar-based inpainting algorithm using local and global heuristics for more geometric coherence, ICIP 14 D. Tschumperlé (GREYC, Caen - FRANCE) Journée Imagerie Rouen 9 th of April 2015 45 / 45