SlideShare a Scribd company logo
1 of 56
Download to read offline
Transformation Guided Image Completion




       Jia-Bin Huang1, Johannes Kopf2,
     Narendra Ahuja1, and Sing Bing Kang2
1                           2
My lab mate’s picture from his honeymoon
Can we get rid of those annoying tourists?
Can we get rid of those annoying tourists?
Photoshop Content-Aware Fill
        [Wexler et al., PAMI 07]
         [Barnes et al. SIG 09]
Photoshop Content-Aware Fill
        [Wexler et al., PAMI 07]
         [Barnes et al. SIG 09]
Our result
Related Problems
                Texture    Image Inpainting   Image Completion
               Synthesis
Stationarity      Yes            No                 No
 Hole size       Large          Small              Large
Example
 input




Example
 output
Related Work

•  Statistical methods
   •  Good at synthesizing pure stochastic texture
   •  Don’t work well for structured texture




•  Diffusion-based methods
   •  Good at filling small holes
   •  Don’t work well for large holes
Example-based methods

• Idea: exploit redundancy in natural images

• Previous work:
  •  Unit of synthesis (pixels, patches or regions)
     •  [Efros and Leung, ICCV 99] [Efros and Freeman, SIG 01] [Kwatra et al. SIG 03]
  •  Filling ordering
     •  [Criminisi et al., TIP 04] [Drori et al., SIG 03] [Xu et al., TIP 10]
  •  Global optimization
     •  [Wexler et al., PAMI 07] [Kwatra et al., SIG 05] [Komodakis and Tziritas, TIP 07]
  •  Transformations beyond translation
     •  [Mansfield et al., BMVC 11] [HaCohen et al. SIG 11] [Darabi et al. SIG 12]
  •  Semi-automatic approaches
     •  [Hertzmann et al. SIG 01] [Sun et al., SIG 05] [Pavic et al., VC 06]
        [Barnes et al. SIG 09]
The Key Challenge

•  Geometric and photometric transformation are often required.
Completion using only translational patches
   Translational patches are not sufficient!




Examplar-based inpainting              Priority-BP             Photoshop Content-aware fill
 [Criminisi et al., TIP 04]   [Komodakis and Tziritas, TIP 07]   [Wexler et al., PAMI 07]
                                                                  [Barnes et al. SIG 09]
Completion using transformed patches
Difficult to optimize!




        Image melding         Transforming image completion
     [Darabi et al. SIG 12]     [Mansfield et al., BMVC 11]
What if the computer could understand
  the underlying structure?




Image with hole   Positional guidance map   Our result
General Framework
General Framework




  Structure in known regions   Extrapolation to unknown regions
General Framework




  Structure in known regions   Extrapolation to unknown regions
Specifying Image Structure
•  How?
   •  Specify structure whenever possible.




•  Why?
   •  Easy for human, but difficult for computer
   •  Allow humans to provide high-level expertise while the system perform low- and
      mid-level processing
Exploiting Structures in Images
•  Label maps [Hertzmann et al. SIG 01] [Sun et al., SIG 05] [Barnes et al. SIG 09]
    •  Search sources patches only from patches with the same label (Texture-by-
       numbers)




•  Ramp gradient
    •  Constraint searching along a certain direction
Symmetry

Reflection




 Rotation




Translation




  Glide
Piecewise planar geometry
Translate user inputs to constraints

•  Objective function




•  Color matching cost



•  Guidance cost: positional and non-positional
Positional guidance




    Image with missing region
   Positional guidance map
Non-positional guidance
Probabilistic Interpretation

•  Probability factorization given user input u




•  Guidance cost
Probabilistic interpretation for
interactive image completion methods
                            Positional prior                   Non-positional prior




Label map                   uniform distribution with finite   N/A
[Hertzmann et al. SIG 01]   support
[Barnes et al. SIG 09]


Line/contour-based          degenerate distribution along      N/A
constraints                 the curve
[Sun et al., SIG 05]
Perspective                 N/A                                constant, no uncertainty
[Pavic et al., VC 06]                                          modeled
Ours                        distribution corresponds to        Laplacian distribution
                            eps-insensitive loss
An image with missing region
Photoshop content-aware fill
Our result (unguided)
Our result (positional guide only)
Our result (non-positional guide only)
Our result (positional and non-positional)
Comparison with the-state-of-the-art

•  Example-based Inpainting [Criminisi et al.,       TIP 04]
    •  Smart filling order selection
•  Priority-BP [Komodakis and Tziritas, TIP 07]
    •  Global optimization with MRF model
•  Photoshop content-aware fill (CS 5)
    •  Nonparametric formulation [Wexler et al., PAMI 07]   + PatchMatch
      [Barnes et al. SIG 09]

•  Image melding [Darabi et al. SIG 12]
    •  geometric and photometric transformations for patch + image gradients
       representation
•  Transforming image completion [Mansfield et al., BMVC 11]
    •  Search transformed patches using generalized PatchMatch
•  Ours (unguided)
    •  Our completion algorithm without using guidance map
Image with hole                       Ours                   Ours (unguided)               Image melding
                                                                                          [Darabi et al. SIG 12]




Examplar-based inpainting           Priority-BP           Photoshop content-aware fill        Transforming
  [Criminisi et al., TIP 04]   [Komodakis and Tziritas,      [Wexler et al., PAMI 07]       image completion
                                      TIP 07]                 [Barnes et al. SIG 09]     [Mansfield et al., BMVC 11]
Guidance map                         Ours                   Ours (unguided)               Image melding
                                                                                          [Darabi et al. SIG 12]




Examplar-based inpainting           Priority-BP           Photoshop content-aware fill        Transforming
  [Criminisi et al., TIP 04]   [Komodakis and Tziritas,      [Wexler et al., PAMI 07]       image completion
                                      TIP 07]                 [Barnes et al. SIG 09]     [Mansfield et al., BMVC 11]
Image with hole              Ours                Photoshop content-aware fill       Image melding
                                                     [Wexler et al., PAMI 07]    [Darabi et al. SIG 12]
                                                      [Barnes et al. SIG 09]




Guidance map      Examplar-based inpainting               Priority-BP                Transforming
                    [Criminisi et al., TIP 04]                [                    image completion
                                                    Komodakis and Tziritas,     [Mansfield et al., BMVC 11]
                                                          TIP 07]
Image with hole                      Ours                   Ours (unguided)              Image melding
                                                                                         [Darabi et al. SIG 12]




Examplar-based inpainting           Priority-BP           Photoshop content-aware fill        Transforming
  [Criminisi et al., TIP 04]   [Komodakis and Tziritas,      [Wexler et al., PAMI 07]       image completion
                                      TIP 07]                 [Barnes et al. SIG 09]     [Mansfield et al., BMVC 11]
Guidance map                        Ours                   Ours (unguided)              Image melding
                                                                                         [Darabi et al. SIG 12]




Examplar-based inpainting           Priority-BP           Photoshop content-aware fill        Transforming
  [Criminisi et al., TIP 04]   [Komodakis and Tziritas,      [Wexler et al., PAMI 07]       image completion
                                      TIP 07]                 [Barnes et al. SIG 09]     [Mansfield et al., BMVC 11]
Image with mask                     Our result                     Image melding
                                                                      [Darabi et al. SIG 12]




Photoshop content-aware fill            Priority-BP               Transforming image completion
  [Wexler et al., PAMI 07]     [Komodakis and Tziritas, TIP 07]     [Mansfield et al., BMVC 11]
   [Barnes et al. SIG 09]
Guidance map                        Our result                     Image melding
                                                                      [Darabi et al. SIG 12]




Photoshop content-aware fill            Priority-BP               Transforming image completion
  [Wexler et al., PAMI 07]     [Komodakis and Tziritas, TIP 07]     [Mansfield et al., BMVC 11]
   [Barnes et al. SIG 09]
Image with hole              Ours                Photoshop content-aware fill       Image melding
                                                     [Wexler et al., PAMI 07]    [Darabi et al. SIG 12]
                                                      [Barnes et al. SIG 09]




Guidance map      Examplar-based inpainting               Priority-BP                Transforming
                    [Criminisi et al., TIP 04]                [                    image completion
                                                    Komodakis and Tziritas,     [Mansfield et al., BMVC 11]
                                                          TIP 07]
Image with hole              Ours                Photoshop content-aware fill        Image melding
                                                     [Wexler et al., PAMI 07]     [Darabi et al. SIG 12]
                                                      [Barnes et al. SIG 09]




Guidance map      Examplar-based inpainting                 Priority-BP               Transforming
                    [Criminisi et al., TIP 04]        [Komodakis and Tziritas,      image completion
                                                             TIP 07]             [Mansfield et al., BMVC 11]
Image with hole                  Ours                   Ours (unguided)               Image melding
                                                                                         [Darabi et al. SIG 12]




Examplar-based inpainting           Priority-BP          Photoshop content-aware fill        Transforming
  [Criminisi et al., TIP 04]             [                  [Wexler et al., PAMI 07]       image completion
                               Komodakis and Tziritas,       [Barnes et al. SIG 09]     [Mansfield et al., BMVC 11]
                                     TIP 07]
Guidance map                      Ours                   Ours (unguided)               Image melding
                                                                                         [Darabi et al. SIG 12]




Examplar-based inpainting           Priority-BP          Photoshop content-aware fill        Transforming
  [Criminisi et al., TIP 04]             [                  [Wexler et al., PAMI 07]       image completion
                               Komodakis and Tziritas,       [Barnes et al. SIG 09]     [Mansfield et al., BMVC 11]
                                     TIP 07]
Image with hole              Ours                Photoshop content-aware fill       Image melding
                                                     [Wexler et al., PAMI 07]    [Darabi et al. SIG 12]
                                                      [Barnes et al. SIG 09]




Guidance map      Examplar-based inpainting               Priority-BP                Transforming
                    [Criminisi et al., TIP 04]                [                    image completion
                                                    Komodakis and Tziritas,     [Mansfield et al., BMVC 11]
                                                          TIP 07]
Image with hole              Ours                Photoshop content-aware fill       Image melding
                                                     [Wexler et al., PAMI 07]    [Darabi et al. SIG 12]
                                                      [Barnes et al. SIG 09]




 Guidance map     Examplar-based inpainting               Priority-BP                Transforming
                    [Criminisi et al., TIP 04]                [                    image completion
                                                    Komodakis and Tziritas,     [Mansfield et al., BMVC 11]
                                                          TIP 07]
Image with hole              Ours                Photoshop content-aware fill       Image melding
                                                     [Wexler et al., PAMI 07]    [Darabi et al. SIG 12]
                                                      [Barnes et al. SIG 09]




 Guidance map     Examplar-based inpainting               Priority-BP                Transforming
                    [Criminisi et al., TIP 04]                [                    image completion
                                                    Komodakis and Tziritas,     [Mansfield et al., BMVC 11]
                                                          TIP 07]
Image with hole              Ours                Photoshop content-aware fill       Image melding
                                                     [Wexler et al., PAMI 07]    [Darabi et al. SIG 12]
                                                      [Barnes et al. SIG 09]




 Guidance map     Examplar-based inpainting              Priority-BP                 Transforming
                    [Criminisi et al., TIP 04]                [                    image completion
                                                    Komodakis and Tziritas,     [Mansfield et al., BMVC 11]
                                                          TIP 07]
Image with hole                    Photoshop content-aware fill
                               [Wexler et al., PAMI 07] [Barnes et al. SIG 09]




Examplar-based inpainting                      Priority-BP
  [Criminisi et al., TIP 04]          [Komodakis and Tziritas, TIP 07]
Image with hole                   Our result




   Image melding         Transforming image completion
[Darabi et al. SIG 12]     [Mansfield et al., BMVC 11]
Guidance Map                    Our result




   Image melding         Transforming image completion
[Darabi et al. SIG 12]     [Mansfield et al., BMVC 11]
Image with hole             Ours                        Photoshop content-aware fill                    Image melding
                                                [Wexler et al., PAMI 07] [Barnes et al. SIG 09]      [Darabi et al. SIG 12]




Guidance map      Examplar-based inpainting                    Priority-BP                              Transforming
                   [Criminisi et al., TIP 04]         [Komodakis and Tziritas, TIP 07]                image completion
                                                                                                  [Mansfield et al., BMVC 11]
Failure cases




  Image with hole                         Our result              Photoshop content-aware fill
                                                                    [Wexler et al., PAMI 07]
                                                                     [Barnes et al. SIG 09]




Examplar-based inpainting               Priority-BP               Transforming image completion
  [Criminisi et al., TIP 04]   [Komodakis and Tziritas, TIP 07]     [Mansfield et al., BMVC 11]
Failure cases




  Image with hole                         Our result               Photoshop content-aware fill
                                                                     [Wexler et al., PAMI 07]
                                                                      [Barnes et al. SIG 09]




Examplar-based inpainting               Priority-BP               Transforming image completion
  [Criminisi et al., TIP 04]   [Komodakis and Tziritas, TIP 07]     [Mansfield et al., BMVC 11]
Summary

•  A simple user interface
   •  allow users to directly control the desired image completion
      results by specifying various image structures

•  Automatically generate the transformation guidance
   maps
   •  serve as soft constraints in guiding the completion process

•  An optimization framework with probabilistic
   interpretation
   •  generalize existing work using interactive techniques for
      image completion
Thank you!
•  Comments or questions?




             Jia-Bin Huang                   Johannes Kopf
         jbhuang1@Illinois.edu             kopf@microsoft.com




           Narendra Ahuja                    Sing Bing Kang
         n-ahuja@Illinois.edu             sbkang@microsoft.com

More Related Content

Viewers also liked

Linear Algebra and Matlab tutorial
Linear Algebra and Matlab tutorialLinear Algebra and Matlab tutorial
Linear Algebra and Matlab tutorialJia-Bin Huang
 
Writing Fast MATLAB Code
Writing Fast MATLAB CodeWriting Fast MATLAB Code
Writing Fast MATLAB CodeJia-Bin Huang
 
Lecture 29 Convolutional Neural Networks - Computer Vision Spring2015
Lecture 29 Convolutional Neural Networks -  Computer Vision Spring2015Lecture 29 Convolutional Neural Networks -  Computer Vision Spring2015
Lecture 29 Convolutional Neural Networks - Computer Vision Spring2015Jia-Bin Huang
 
Three Reasons to Join FVE at uiuc
Three Reasons to Join FVE at uiucThree Reasons to Join FVE at uiuc
Three Reasons to Join FVE at uiucJia-Bin Huang
 
Applying for Graduate School in S.T.E.M.
Applying for Graduate School in S.T.E.M.Applying for Graduate School in S.T.E.M.
Applying for Graduate School in S.T.E.M.Jia-Bin Huang
 
A Physical Approach to Moving Cast Shadow Detection (ICASSP 2009)
A Physical Approach to Moving Cast Shadow Detection (ICASSP 2009)A Physical Approach to Moving Cast Shadow Detection (ICASSP 2009)
A Physical Approach to Moving Cast Shadow Detection (ICASSP 2009)Jia-Bin Huang
 
UIUC CS 498 - Computational Photography - Final project presentation
UIUC CS 498 - Computational Photography - Final project presentation UIUC CS 498 - Computational Photography - Final project presentation
UIUC CS 498 - Computational Photography - Final project presentation Jia-Bin Huang
 
美國研究所申請流程 (A Guide for Applying Graduate Schools in USA)
美國研究所申請流程 (A Guide for Applying Graduate Schools in USA)美國研究所申請流程 (A Guide for Applying Graduate Schools in USA)
美國研究所申請流程 (A Guide for Applying Graduate Schools in USA)Jia-Bin Huang
 
Single Image Super-Resolution from Transformed Self-Exemplars (CVPR 2015)
Single Image Super-Resolution from Transformed Self-Exemplars (CVPR 2015)Single Image Super-Resolution from Transformed Self-Exemplars (CVPR 2015)
Single Image Super-Resolution from Transformed Self-Exemplars (CVPR 2015)Jia-Bin Huang
 
What Makes a Creative Photograph?
What Makes a Creative Photograph?What Makes a Creative Photograph?
What Makes a Creative Photograph?Jia-Bin Huang
 
Computer Vision Crash Course
Computer Vision Crash CourseComputer Vision Crash Course
Computer Vision Crash CourseJia-Bin Huang
 
How to come up with new research ideas
How to come up with new research ideasHow to come up with new research ideas
How to come up with new research ideasJia-Bin Huang
 
Research 101 - Paper Writing with LaTeX
Research 101 - Paper Writing with LaTeXResearch 101 - Paper Writing with LaTeX
Research 101 - Paper Writing with LaTeXJia-Bin Huang
 
Learning Moving Cast Shadows for Foreground Detection (VS 2008)
Learning Moving Cast Shadows for Foreground Detection (VS 2008)Learning Moving Cast Shadows for Foreground Detection (VS 2008)
Learning Moving Cast Shadows for Foreground Detection (VS 2008)Jia-Bin Huang
 
24symbols - what's in it?
24symbols - what's in it?24symbols - what's in it?
24symbols - what's in it?24Symbols
 
Slideshow Excursie Istanbul 2010
Slideshow Excursie Istanbul 2010Slideshow Excursie Istanbul 2010
Slideshow Excursie Istanbul 2010hanshuizinga
 
Recommondation teleco(manufacturing)
Recommondation teleco(manufacturing)Recommondation teleco(manufacturing)
Recommondation teleco(manufacturing)bsmihd
 

Viewers also liked (17)

Linear Algebra and Matlab tutorial
Linear Algebra and Matlab tutorialLinear Algebra and Matlab tutorial
Linear Algebra and Matlab tutorial
 
Writing Fast MATLAB Code
Writing Fast MATLAB CodeWriting Fast MATLAB Code
Writing Fast MATLAB Code
 
Lecture 29 Convolutional Neural Networks - Computer Vision Spring2015
Lecture 29 Convolutional Neural Networks -  Computer Vision Spring2015Lecture 29 Convolutional Neural Networks -  Computer Vision Spring2015
Lecture 29 Convolutional Neural Networks - Computer Vision Spring2015
 
Three Reasons to Join FVE at uiuc
Three Reasons to Join FVE at uiucThree Reasons to Join FVE at uiuc
Three Reasons to Join FVE at uiuc
 
Applying for Graduate School in S.T.E.M.
Applying for Graduate School in S.T.E.M.Applying for Graduate School in S.T.E.M.
Applying for Graduate School in S.T.E.M.
 
A Physical Approach to Moving Cast Shadow Detection (ICASSP 2009)
A Physical Approach to Moving Cast Shadow Detection (ICASSP 2009)A Physical Approach to Moving Cast Shadow Detection (ICASSP 2009)
A Physical Approach to Moving Cast Shadow Detection (ICASSP 2009)
 
UIUC CS 498 - Computational Photography - Final project presentation
UIUC CS 498 - Computational Photography - Final project presentation UIUC CS 498 - Computational Photography - Final project presentation
UIUC CS 498 - Computational Photography - Final project presentation
 
美國研究所申請流程 (A Guide for Applying Graduate Schools in USA)
美國研究所申請流程 (A Guide for Applying Graduate Schools in USA)美國研究所申請流程 (A Guide for Applying Graduate Schools in USA)
美國研究所申請流程 (A Guide for Applying Graduate Schools in USA)
 
Single Image Super-Resolution from Transformed Self-Exemplars (CVPR 2015)
Single Image Super-Resolution from Transformed Self-Exemplars (CVPR 2015)Single Image Super-Resolution from Transformed Self-Exemplars (CVPR 2015)
Single Image Super-Resolution from Transformed Self-Exemplars (CVPR 2015)
 
What Makes a Creative Photograph?
What Makes a Creative Photograph?What Makes a Creative Photograph?
What Makes a Creative Photograph?
 
Computer Vision Crash Course
Computer Vision Crash CourseComputer Vision Crash Course
Computer Vision Crash Course
 
How to come up with new research ideas
How to come up with new research ideasHow to come up with new research ideas
How to come up with new research ideas
 
Research 101 - Paper Writing with LaTeX
Research 101 - Paper Writing with LaTeXResearch 101 - Paper Writing with LaTeX
Research 101 - Paper Writing with LaTeX
 
Learning Moving Cast Shadows for Foreground Detection (VS 2008)
Learning Moving Cast Shadows for Foreground Detection (VS 2008)Learning Moving Cast Shadows for Foreground Detection (VS 2008)
Learning Moving Cast Shadows for Foreground Detection (VS 2008)
 
24symbols - what's in it?
24symbols - what's in it?24symbols - what's in it?
24symbols - what's in it?
 
Slideshow Excursie Istanbul 2010
Slideshow Excursie Istanbul 2010Slideshow Excursie Istanbul 2010
Slideshow Excursie Istanbul 2010
 
Recommondation teleco(manufacturing)
Recommondation teleco(manufacturing)Recommondation teleco(manufacturing)
Recommondation teleco(manufacturing)
 

More from Jia-Bin Huang

How to write a clear paper
How to write a clear paperHow to write a clear paper
How to write a clear paperJia-Bin Huang
 
Real-time Face Detection and Recognition
Real-time Face Detection and RecognitionReal-time Face Detection and Recognition
Real-time Face Detection and RecognitionJia-Bin Huang
 
Pose aware online visual tracking
Pose aware online visual trackingPose aware online visual tracking
Pose aware online visual trackingJia-Bin Huang
 
Face Expression Enhancement
Face Expression EnhancementFace Expression Enhancement
Face Expression EnhancementJia-Bin Huang
 
Image Smoothing for Structure Extraction
Image Smoothing for Structure ExtractionImage Smoothing for Structure Extraction
Image Smoothing for Structure ExtractionJia-Bin Huang
 
Static and Dynamic Hand Gesture Recognition
Static and Dynamic Hand Gesture RecognitionStatic and Dynamic Hand Gesture Recognition
Static and Dynamic Hand Gesture RecognitionJia-Bin Huang
 
Real-Time Face Detection, Tracking, and Attributes Recognition
Real-Time Face Detection, Tracking, and Attributes RecognitionReal-Time Face Detection, Tracking, and Attributes Recognition
Real-Time Face Detection, Tracking, and Attributes RecognitionJia-Bin Huang
 
Estimating Human Pose from Occluded Images (ACCV 2009)
Estimating Human Pose from Occluded Images (ACCV 2009)Estimating Human Pose from Occluded Images (ACCV 2009)
Estimating Human Pose from Occluded Images (ACCV 2009)Jia-Bin Huang
 
Information Preserving Color Transformation for Protanopia and Deuteranopia (...
Information Preserving Color Transformation for Protanopia and Deuteranopia (...Information Preserving Color Transformation for Protanopia and Deuteranopia (...
Information Preserving Color Transformation for Protanopia and Deuteranopia (...Jia-Bin Huang
 
Enhancing Color Representation for the Color Vision Impaired (CVAVI 2008)
Enhancing Color Representation for the Color Vision Impaired (CVAVI 2008)Enhancing Color Representation for the Color Vision Impaired (CVAVI 2008)
Enhancing Color Representation for the Color Vision Impaired (CVAVI 2008)Jia-Bin Huang
 
Learning Moving Cast Shadows for Foreground Detection (VS 2008)
Learning Moving Cast Shadows for Foreground Detection (VS 2008)Learning Moving Cast Shadows for Foreground Detection (VS 2008)
Learning Moving Cast Shadows for Foreground Detection (VS 2008)Jia-Bin Huang
 

More from Jia-Bin Huang (11)

How to write a clear paper
How to write a clear paperHow to write a clear paper
How to write a clear paper
 
Real-time Face Detection and Recognition
Real-time Face Detection and RecognitionReal-time Face Detection and Recognition
Real-time Face Detection and Recognition
 
Pose aware online visual tracking
Pose aware online visual trackingPose aware online visual tracking
Pose aware online visual tracking
 
Face Expression Enhancement
Face Expression EnhancementFace Expression Enhancement
Face Expression Enhancement
 
Image Smoothing for Structure Extraction
Image Smoothing for Structure ExtractionImage Smoothing for Structure Extraction
Image Smoothing for Structure Extraction
 
Static and Dynamic Hand Gesture Recognition
Static and Dynamic Hand Gesture RecognitionStatic and Dynamic Hand Gesture Recognition
Static and Dynamic Hand Gesture Recognition
 
Real-Time Face Detection, Tracking, and Attributes Recognition
Real-Time Face Detection, Tracking, and Attributes RecognitionReal-Time Face Detection, Tracking, and Attributes Recognition
Real-Time Face Detection, Tracking, and Attributes Recognition
 
Estimating Human Pose from Occluded Images (ACCV 2009)
Estimating Human Pose from Occluded Images (ACCV 2009)Estimating Human Pose from Occluded Images (ACCV 2009)
Estimating Human Pose from Occluded Images (ACCV 2009)
 
Information Preserving Color Transformation for Protanopia and Deuteranopia (...
Information Preserving Color Transformation for Protanopia and Deuteranopia (...Information Preserving Color Transformation for Protanopia and Deuteranopia (...
Information Preserving Color Transformation for Protanopia and Deuteranopia (...
 
Enhancing Color Representation for the Color Vision Impaired (CVAVI 2008)
Enhancing Color Representation for the Color Vision Impaired (CVAVI 2008)Enhancing Color Representation for the Color Vision Impaired (CVAVI 2008)
Enhancing Color Representation for the Color Vision Impaired (CVAVI 2008)
 
Learning Moving Cast Shadows for Foreground Detection (VS 2008)
Learning Moving Cast Shadows for Foreground Detection (VS 2008)Learning Moving Cast Shadows for Foreground Detection (VS 2008)
Learning Moving Cast Shadows for Foreground Detection (VS 2008)
 

Recently uploaded

/:Call Girls In Indirapuram Ghaziabad ➥9990211544 Independent Best Escorts In...
/:Call Girls In Indirapuram Ghaziabad ➥9990211544 Independent Best Escorts In.../:Call Girls In Indirapuram Ghaziabad ➥9990211544 Independent Best Escorts In...
/:Call Girls In Indirapuram Ghaziabad ➥9990211544 Independent Best Escorts In...lizamodels9
 
Kenya’s Coconut Value Chain by Gatsby Africa
Kenya’s Coconut Value Chain by Gatsby AfricaKenya’s Coconut Value Chain by Gatsby Africa
Kenya’s Coconut Value Chain by Gatsby Africaictsugar
 
Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...
Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...
Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...lizamodels9
 
Case study on tata clothing brand zudio in detail
Case study on tata clothing brand zudio in detailCase study on tata clothing brand zudio in detail
Case study on tata clothing brand zudio in detailAriel592675
 
APRIL2024_UKRAINE_xml_0000000000000 .pdf
APRIL2024_UKRAINE_xml_0000000000000 .pdfAPRIL2024_UKRAINE_xml_0000000000000 .pdf
APRIL2024_UKRAINE_xml_0000000000000 .pdfRbc Rbcua
 
8447779800, Low rate Call girls in Uttam Nagar Delhi NCR
8447779800, Low rate Call girls in Uttam Nagar Delhi NCR8447779800, Low rate Call girls in Uttam Nagar Delhi NCR
8447779800, Low rate Call girls in Uttam Nagar Delhi NCRashishs7044
 
MAHA Global and IPR: Do Actions Speak Louder Than Words?
MAHA Global and IPR: Do Actions Speak Louder Than Words?MAHA Global and IPR: Do Actions Speak Louder Than Words?
MAHA Global and IPR: Do Actions Speak Louder Than Words?Olivia Kresic
 
2024 Numerator Consumer Study of Cannabis Usage
2024 Numerator Consumer Study of Cannabis Usage2024 Numerator Consumer Study of Cannabis Usage
2024 Numerator Consumer Study of Cannabis UsageNeil Kimberley
 
BEST Call Girls In Greater Noida ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
BEST Call Girls In Greater Noida ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,BEST Call Girls In Greater Noida ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
BEST Call Girls In Greater Noida ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,noida100girls
 
Islamabad Escorts | Call 03070433345 | Escort Service in Islamabad
Islamabad Escorts | Call 03070433345 | Escort Service in IslamabadIslamabad Escorts | Call 03070433345 | Escort Service in Islamabad
Islamabad Escorts | Call 03070433345 | Escort Service in IslamabadAyesha Khan
 
Call US-88OO1O2216 Call Girls In Mahipalpur Female Escort Service
Call US-88OO1O2216 Call Girls In Mahipalpur Female Escort ServiceCall US-88OO1O2216 Call Girls In Mahipalpur Female Escort Service
Call US-88OO1O2216 Call Girls In Mahipalpur Female Escort Servicecallgirls2057
 
Call Girls In Connaught Place Delhi ❤️88604**77959_Russian 100% Genuine Escor...
Call Girls In Connaught Place Delhi ❤️88604**77959_Russian 100% Genuine Escor...Call Girls In Connaught Place Delhi ❤️88604**77959_Russian 100% Genuine Escor...
Call Girls In Connaught Place Delhi ❤️88604**77959_Russian 100% Genuine Escor...lizamodels9
 
Annual General Meeting Presentation Slides
Annual General Meeting Presentation SlidesAnnual General Meeting Presentation Slides
Annual General Meeting Presentation SlidesKeppelCorporation
 
8447779800, Low rate Call girls in Kotla Mubarakpur Delhi NCR
8447779800, Low rate Call girls in Kotla Mubarakpur Delhi NCR8447779800, Low rate Call girls in Kotla Mubarakpur Delhi NCR
8447779800, Low rate Call girls in Kotla Mubarakpur Delhi NCRashishs7044
 
Independent Call Girls Andheri Nightlaila 9967584737
Independent Call Girls Andheri Nightlaila 9967584737Independent Call Girls Andheri Nightlaila 9967584737
Independent Call Girls Andheri Nightlaila 9967584737Riya Pathan
 
International Business Environments and Operations 16th Global Edition test b...
International Business Environments and Operations 16th Global Edition test b...International Business Environments and Operations 16th Global Edition test b...
International Business Environments and Operations 16th Global Edition test b...ssuserf63bd7
 
Contemporary Economic Issues Facing the Filipino Entrepreneur (1).pptx
Contemporary Economic Issues Facing the Filipino Entrepreneur (1).pptxContemporary Economic Issues Facing the Filipino Entrepreneur (1).pptx
Contemporary Economic Issues Facing the Filipino Entrepreneur (1).pptxMarkAnthonyAurellano
 
8447779800, Low rate Call girls in New Ashok Nagar Delhi NCR
8447779800, Low rate Call girls in New Ashok Nagar Delhi NCR8447779800, Low rate Call girls in New Ashok Nagar Delhi NCR
8447779800, Low rate Call girls in New Ashok Nagar Delhi NCRashishs7044
 
Market Sizes Sample Report - 2024 Edition
Market Sizes Sample Report - 2024 EditionMarket Sizes Sample Report - 2024 Edition
Market Sizes Sample Report - 2024 EditionMintel Group
 
Call Girls Miyapur 7001305949 all area service COD available Any Time
Call Girls Miyapur 7001305949 all area service COD available Any TimeCall Girls Miyapur 7001305949 all area service COD available Any Time
Call Girls Miyapur 7001305949 all area service COD available Any Timedelhimodelshub1
 

Recently uploaded (20)

/:Call Girls In Indirapuram Ghaziabad ➥9990211544 Independent Best Escorts In...
/:Call Girls In Indirapuram Ghaziabad ➥9990211544 Independent Best Escorts In.../:Call Girls In Indirapuram Ghaziabad ➥9990211544 Independent Best Escorts In...
/:Call Girls In Indirapuram Ghaziabad ➥9990211544 Independent Best Escorts In...
 
Kenya’s Coconut Value Chain by Gatsby Africa
Kenya’s Coconut Value Chain by Gatsby AfricaKenya’s Coconut Value Chain by Gatsby Africa
Kenya’s Coconut Value Chain by Gatsby Africa
 
Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...
Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...
Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...
 
Case study on tata clothing brand zudio in detail
Case study on tata clothing brand zudio in detailCase study on tata clothing brand zudio in detail
Case study on tata clothing brand zudio in detail
 
APRIL2024_UKRAINE_xml_0000000000000 .pdf
APRIL2024_UKRAINE_xml_0000000000000 .pdfAPRIL2024_UKRAINE_xml_0000000000000 .pdf
APRIL2024_UKRAINE_xml_0000000000000 .pdf
 
8447779800, Low rate Call girls in Uttam Nagar Delhi NCR
8447779800, Low rate Call girls in Uttam Nagar Delhi NCR8447779800, Low rate Call girls in Uttam Nagar Delhi NCR
8447779800, Low rate Call girls in Uttam Nagar Delhi NCR
 
MAHA Global and IPR: Do Actions Speak Louder Than Words?
MAHA Global and IPR: Do Actions Speak Louder Than Words?MAHA Global and IPR: Do Actions Speak Louder Than Words?
MAHA Global and IPR: Do Actions Speak Louder Than Words?
 
2024 Numerator Consumer Study of Cannabis Usage
2024 Numerator Consumer Study of Cannabis Usage2024 Numerator Consumer Study of Cannabis Usage
2024 Numerator Consumer Study of Cannabis Usage
 
BEST Call Girls In Greater Noida ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
BEST Call Girls In Greater Noida ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,BEST Call Girls In Greater Noida ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
BEST Call Girls In Greater Noida ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
 
Islamabad Escorts | Call 03070433345 | Escort Service in Islamabad
Islamabad Escorts | Call 03070433345 | Escort Service in IslamabadIslamabad Escorts | Call 03070433345 | Escort Service in Islamabad
Islamabad Escorts | Call 03070433345 | Escort Service in Islamabad
 
Call US-88OO1O2216 Call Girls In Mahipalpur Female Escort Service
Call US-88OO1O2216 Call Girls In Mahipalpur Female Escort ServiceCall US-88OO1O2216 Call Girls In Mahipalpur Female Escort Service
Call US-88OO1O2216 Call Girls In Mahipalpur Female Escort Service
 
Call Girls In Connaught Place Delhi ❤️88604**77959_Russian 100% Genuine Escor...
Call Girls In Connaught Place Delhi ❤️88604**77959_Russian 100% Genuine Escor...Call Girls In Connaught Place Delhi ❤️88604**77959_Russian 100% Genuine Escor...
Call Girls In Connaught Place Delhi ❤️88604**77959_Russian 100% Genuine Escor...
 
Annual General Meeting Presentation Slides
Annual General Meeting Presentation SlidesAnnual General Meeting Presentation Slides
Annual General Meeting Presentation Slides
 
8447779800, Low rate Call girls in Kotla Mubarakpur Delhi NCR
8447779800, Low rate Call girls in Kotla Mubarakpur Delhi NCR8447779800, Low rate Call girls in Kotla Mubarakpur Delhi NCR
8447779800, Low rate Call girls in Kotla Mubarakpur Delhi NCR
 
Independent Call Girls Andheri Nightlaila 9967584737
Independent Call Girls Andheri Nightlaila 9967584737Independent Call Girls Andheri Nightlaila 9967584737
Independent Call Girls Andheri Nightlaila 9967584737
 
International Business Environments and Operations 16th Global Edition test b...
International Business Environments and Operations 16th Global Edition test b...International Business Environments and Operations 16th Global Edition test b...
International Business Environments and Operations 16th Global Edition test b...
 
Contemporary Economic Issues Facing the Filipino Entrepreneur (1).pptx
Contemporary Economic Issues Facing the Filipino Entrepreneur (1).pptxContemporary Economic Issues Facing the Filipino Entrepreneur (1).pptx
Contemporary Economic Issues Facing the Filipino Entrepreneur (1).pptx
 
8447779800, Low rate Call girls in New Ashok Nagar Delhi NCR
8447779800, Low rate Call girls in New Ashok Nagar Delhi NCR8447779800, Low rate Call girls in New Ashok Nagar Delhi NCR
8447779800, Low rate Call girls in New Ashok Nagar Delhi NCR
 
Market Sizes Sample Report - 2024 Edition
Market Sizes Sample Report - 2024 EditionMarket Sizes Sample Report - 2024 Edition
Market Sizes Sample Report - 2024 Edition
 
Call Girls Miyapur 7001305949 all area service COD available Any Time
Call Girls Miyapur 7001305949 all area service COD available Any TimeCall Girls Miyapur 7001305949 all area service COD available Any Time
Call Girls Miyapur 7001305949 all area service COD available Any Time
 

Transformation Guided Image Completion ICCP 2013

  • 1. Transformation Guided Image Completion Jia-Bin Huang1, Johannes Kopf2, Narendra Ahuja1, and Sing Bing Kang2 1 2
  • 2. My lab mate’s picture from his honeymoon
  • 3. Can we get rid of those annoying tourists?
  • 4. Can we get rid of those annoying tourists?
  • 5. Photoshop Content-Aware Fill [Wexler et al., PAMI 07] [Barnes et al. SIG 09]
  • 6. Photoshop Content-Aware Fill [Wexler et al., PAMI 07] [Barnes et al. SIG 09]
  • 8. Related Problems Texture Image Inpainting Image Completion Synthesis Stationarity Yes No No Hole size Large Small Large Example input Example output
  • 9. Related Work •  Statistical methods •  Good at synthesizing pure stochastic texture •  Don’t work well for structured texture •  Diffusion-based methods •  Good at filling small holes •  Don’t work well for large holes
  • 10. Example-based methods • Idea: exploit redundancy in natural images • Previous work: •  Unit of synthesis (pixels, patches or regions) •  [Efros and Leung, ICCV 99] [Efros and Freeman, SIG 01] [Kwatra et al. SIG 03] •  Filling ordering •  [Criminisi et al., TIP 04] [Drori et al., SIG 03] [Xu et al., TIP 10] •  Global optimization •  [Wexler et al., PAMI 07] [Kwatra et al., SIG 05] [Komodakis and Tziritas, TIP 07] •  Transformations beyond translation •  [Mansfield et al., BMVC 11] [HaCohen et al. SIG 11] [Darabi et al. SIG 12] •  Semi-automatic approaches •  [Hertzmann et al. SIG 01] [Sun et al., SIG 05] [Pavic et al., VC 06] [Barnes et al. SIG 09]
  • 11. The Key Challenge •  Geometric and photometric transformation are often required.
  • 12. Completion using only translational patches Translational patches are not sufficient! Examplar-based inpainting Priority-BP Photoshop Content-aware fill [Criminisi et al., TIP 04] [Komodakis and Tziritas, TIP 07] [Wexler et al., PAMI 07] [Barnes et al. SIG 09]
  • 13. Completion using transformed patches Difficult to optimize! Image melding Transforming image completion [Darabi et al. SIG 12] [Mansfield et al., BMVC 11]
  • 14. What if the computer could understand the underlying structure? Image with hole Positional guidance map Our result
  • 16. General Framework Structure in known regions Extrapolation to unknown regions
  • 17. General Framework Structure in known regions Extrapolation to unknown regions
  • 18. Specifying Image Structure •  How? •  Specify structure whenever possible. •  Why? •  Easy for human, but difficult for computer •  Allow humans to provide high-level expertise while the system perform low- and mid-level processing
  • 19. Exploiting Structures in Images •  Label maps [Hertzmann et al. SIG 01] [Sun et al., SIG 05] [Barnes et al. SIG 09] •  Search sources patches only from patches with the same label (Texture-by- numbers) •  Ramp gradient •  Constraint searching along a certain direction
  • 22. Translate user inputs to constraints •  Objective function •  Color matching cost •  Guidance cost: positional and non-positional
  • 23. Positional guidance Image with missing region Positional guidance map
  • 25. Probabilistic Interpretation •  Probability factorization given user input u •  Guidance cost
  • 26. Probabilistic interpretation for interactive image completion methods Positional prior Non-positional prior Label map uniform distribution with finite N/A [Hertzmann et al. SIG 01] support [Barnes et al. SIG 09] Line/contour-based degenerate distribution along N/A constraints the curve [Sun et al., SIG 05] Perspective N/A constant, no uncertainty [Pavic et al., VC 06] modeled Ours distribution corresponds to Laplacian distribution eps-insensitive loss
  • 27. An image with missing region
  • 30. Our result (positional guide only)
  • 32. Our result (positional and non-positional)
  • 33. Comparison with the-state-of-the-art •  Example-based Inpainting [Criminisi et al., TIP 04] •  Smart filling order selection •  Priority-BP [Komodakis and Tziritas, TIP 07] •  Global optimization with MRF model •  Photoshop content-aware fill (CS 5) •  Nonparametric formulation [Wexler et al., PAMI 07] + PatchMatch [Barnes et al. SIG 09] •  Image melding [Darabi et al. SIG 12] •  geometric and photometric transformations for patch + image gradients representation •  Transforming image completion [Mansfield et al., BMVC 11] •  Search transformed patches using generalized PatchMatch •  Ours (unguided) •  Our completion algorithm without using guidance map
  • 34. Image with hole Ours Ours (unguided) Image melding [Darabi et al. SIG 12] Examplar-based inpainting Priority-BP Photoshop content-aware fill Transforming [Criminisi et al., TIP 04] [Komodakis and Tziritas, [Wexler et al., PAMI 07] image completion TIP 07] [Barnes et al. SIG 09] [Mansfield et al., BMVC 11]
  • 35. Guidance map Ours Ours (unguided) Image melding [Darabi et al. SIG 12] Examplar-based inpainting Priority-BP Photoshop content-aware fill Transforming [Criminisi et al., TIP 04] [Komodakis and Tziritas, [Wexler et al., PAMI 07] image completion TIP 07] [Barnes et al. SIG 09] [Mansfield et al., BMVC 11]
  • 36. Image with hole Ours Photoshop content-aware fill Image melding [Wexler et al., PAMI 07] [Darabi et al. SIG 12] [Barnes et al. SIG 09] Guidance map Examplar-based inpainting Priority-BP Transforming [Criminisi et al., TIP 04] [ image completion Komodakis and Tziritas, [Mansfield et al., BMVC 11] TIP 07]
  • 37. Image with hole Ours Ours (unguided) Image melding [Darabi et al. SIG 12] Examplar-based inpainting Priority-BP Photoshop content-aware fill Transforming [Criminisi et al., TIP 04] [Komodakis and Tziritas, [Wexler et al., PAMI 07] image completion TIP 07] [Barnes et al. SIG 09] [Mansfield et al., BMVC 11]
  • 38. Guidance map Ours Ours (unguided) Image melding [Darabi et al. SIG 12] Examplar-based inpainting Priority-BP Photoshop content-aware fill Transforming [Criminisi et al., TIP 04] [Komodakis and Tziritas, [Wexler et al., PAMI 07] image completion TIP 07] [Barnes et al. SIG 09] [Mansfield et al., BMVC 11]
  • 39. Image with mask Our result Image melding [Darabi et al. SIG 12] Photoshop content-aware fill Priority-BP Transforming image completion [Wexler et al., PAMI 07] [Komodakis and Tziritas, TIP 07] [Mansfield et al., BMVC 11] [Barnes et al. SIG 09]
  • 40. Guidance map Our result Image melding [Darabi et al. SIG 12] Photoshop content-aware fill Priority-BP Transforming image completion [Wexler et al., PAMI 07] [Komodakis and Tziritas, TIP 07] [Mansfield et al., BMVC 11] [Barnes et al. SIG 09]
  • 41. Image with hole Ours Photoshop content-aware fill Image melding [Wexler et al., PAMI 07] [Darabi et al. SIG 12] [Barnes et al. SIG 09] Guidance map Examplar-based inpainting Priority-BP Transforming [Criminisi et al., TIP 04] [ image completion Komodakis and Tziritas, [Mansfield et al., BMVC 11] TIP 07]
  • 42. Image with hole Ours Photoshop content-aware fill Image melding [Wexler et al., PAMI 07] [Darabi et al. SIG 12] [Barnes et al. SIG 09] Guidance map Examplar-based inpainting Priority-BP Transforming [Criminisi et al., TIP 04] [Komodakis and Tziritas, image completion TIP 07] [Mansfield et al., BMVC 11]
  • 43. Image with hole Ours Ours (unguided) Image melding [Darabi et al. SIG 12] Examplar-based inpainting Priority-BP Photoshop content-aware fill Transforming [Criminisi et al., TIP 04] [ [Wexler et al., PAMI 07] image completion Komodakis and Tziritas, [Barnes et al. SIG 09] [Mansfield et al., BMVC 11] TIP 07]
  • 44. Guidance map Ours Ours (unguided) Image melding [Darabi et al. SIG 12] Examplar-based inpainting Priority-BP Photoshop content-aware fill Transforming [Criminisi et al., TIP 04] [ [Wexler et al., PAMI 07] image completion Komodakis and Tziritas, [Barnes et al. SIG 09] [Mansfield et al., BMVC 11] TIP 07]
  • 45. Image with hole Ours Photoshop content-aware fill Image melding [Wexler et al., PAMI 07] [Darabi et al. SIG 12] [Barnes et al. SIG 09] Guidance map Examplar-based inpainting Priority-BP Transforming [Criminisi et al., TIP 04] [ image completion Komodakis and Tziritas, [Mansfield et al., BMVC 11] TIP 07]
  • 46. Image with hole Ours Photoshop content-aware fill Image melding [Wexler et al., PAMI 07] [Darabi et al. SIG 12] [Barnes et al. SIG 09] Guidance map Examplar-based inpainting Priority-BP Transforming [Criminisi et al., TIP 04] [ image completion Komodakis and Tziritas, [Mansfield et al., BMVC 11] TIP 07]
  • 47. Image with hole Ours Photoshop content-aware fill Image melding [Wexler et al., PAMI 07] [Darabi et al. SIG 12] [Barnes et al. SIG 09] Guidance map Examplar-based inpainting Priority-BP Transforming [Criminisi et al., TIP 04] [ image completion Komodakis and Tziritas, [Mansfield et al., BMVC 11] TIP 07]
  • 48. Image with hole Ours Photoshop content-aware fill Image melding [Wexler et al., PAMI 07] [Darabi et al. SIG 12] [Barnes et al. SIG 09] Guidance map Examplar-based inpainting Priority-BP Transforming [Criminisi et al., TIP 04] [ image completion Komodakis and Tziritas, [Mansfield et al., BMVC 11] TIP 07]
  • 49. Image with hole Photoshop content-aware fill [Wexler et al., PAMI 07] [Barnes et al. SIG 09] Examplar-based inpainting Priority-BP [Criminisi et al., TIP 04] [Komodakis and Tziritas, TIP 07]
  • 50. Image with hole Our result Image melding Transforming image completion [Darabi et al. SIG 12] [Mansfield et al., BMVC 11]
  • 51. Guidance Map Our result Image melding Transforming image completion [Darabi et al. SIG 12] [Mansfield et al., BMVC 11]
  • 52. Image with hole Ours Photoshop content-aware fill Image melding [Wexler et al., PAMI 07] [Barnes et al. SIG 09] [Darabi et al. SIG 12] Guidance map Examplar-based inpainting Priority-BP Transforming [Criminisi et al., TIP 04] [Komodakis and Tziritas, TIP 07] image completion [Mansfield et al., BMVC 11]
  • 53. Failure cases Image with hole Our result Photoshop content-aware fill [Wexler et al., PAMI 07] [Barnes et al. SIG 09] Examplar-based inpainting Priority-BP Transforming image completion [Criminisi et al., TIP 04] [Komodakis and Tziritas, TIP 07] [Mansfield et al., BMVC 11]
  • 54. Failure cases Image with hole Our result Photoshop content-aware fill [Wexler et al., PAMI 07] [Barnes et al. SIG 09] Examplar-based inpainting Priority-BP Transforming image completion [Criminisi et al., TIP 04] [Komodakis and Tziritas, TIP 07] [Mansfield et al., BMVC 11]
  • 55. Summary •  A simple user interface •  allow users to directly control the desired image completion results by specifying various image structures •  Automatically generate the transformation guidance maps •  serve as soft constraints in guiding the completion process •  An optimization framework with probabilistic interpretation •  generalize existing work using interactive techniques for image completion
  • 56. Thank you! •  Comments or questions? Jia-Bin Huang Johannes Kopf jbhuang1@Illinois.edu kopf@microsoft.com Narendra Ahuja Sing Bing Kang n-ahuja@Illinois.edu sbkang@microsoft.com