removal by exemplar-based inpainting using matlab

Upload: brad

Post on 08-Jul-2018

215 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/19/2019 Removal by Exemplar-based Inpainting using matlab

    1/45

    Image Inpainting

    Exemplar Based ImageInpainting

    Under the guidance of:Dr. Prem Kalra

    Ms. Nidhi Arora

    Submitted by:Sahil AggarwalAnshika Mehndiratta

    Afrin Ahmed

  • 8/19/2019 Removal by Exemplar-based Inpainting using matlab

    2/45

    AimGiven an image and the user selected

    area, our 

    goal is to complete the unknownregions based

    on advantages of two approaches :

    1. Texture synthesis

    2. tructure propagation

  • 8/19/2019 Removal by Exemplar-based Inpainting using matlab

    3/45

    Stes:!" #i$en any image % the region to be inainted

    is selected by the user.

    &" 'eeat until done:

    •) (dentify the )ll front * boundary of region tobe inainted "

    •) +omute riorities P*" for e$ery inboundary region.

    •) ,ind the source atch which has minimumdistance with target atch.

    •) +oy image data from source to targetatch.

    •) Udate con)dence $alue of the target atch.

  • 8/19/2019 Removal by Exemplar-based Inpainting using matlab

    4/45

    +omute Priorities  #i$en a atch - centred at the oint for

    some at boundary of  unknown region % wede)ne its riority P*" as the roduct of twoterms:

      !"p# $ %"p#&"p#

      +*" is the con)dence term which deendson con)dence of art of atch in knownregion.

  • 8/19/2019 Removal by Exemplar-based Inpainting using matlab

    5/45

    Data erm  D*" is the data term and deends on the

    normali/ation factor% unit $ector orthogonal to

    the front boundary in the oint and theorthogonal oerator alied to the intensitygradient.

  • 8/19/2019 Removal by Exemplar-based Inpainting using matlab

    6/45

    Searching for a source

    atch!. ,or each target atch we select a source

    atch based on minimum distance betweenthem.

    &. Distance here is de)ned as sum of s0uaredi1erences of the already )lled i2els in the

    two atches.

  • 8/19/2019 Removal by Exemplar-based Inpainting using matlab

    7/45

    Udating con)dence in the targetatch

      After the target atch is )lled with new i2el$alues% the con)dence +*" of each i2el intarget is udated with the con)dence of theart of the atch in unknown region 3ust

    re$iously )lled.

  • 8/19/2019 Removal by Exemplar-based Inpainting using matlab

    8/45

    'esults

  • 8/19/2019 Removal by Exemplar-based Inpainting using matlab

    9/45

  • 8/19/2019 Removal by Exemplar-based Inpainting using matlab

    10/45

  • 8/19/2019 Removal by Exemplar-based Inpainting using matlab

    11/45

  • 8/19/2019 Removal by Exemplar-based Inpainting using matlab

    12/45

  • 8/19/2019 Removal by Exemplar-based Inpainting using matlab

    13/45

  • 8/19/2019 Removal by Exemplar-based Inpainting using matlab

    14/45

  • 8/19/2019 Removal by Exemplar-based Inpainting using matlab

    15/45

  • 8/19/2019 Removal by Exemplar-based Inpainting using matlab

    16/45

  • 8/19/2019 Removal by Exemplar-based Inpainting using matlab

    17/45

  • 8/19/2019 Removal by Exemplar-based Inpainting using matlab

    18/45

  • 8/19/2019 Removal by Exemplar-based Inpainting using matlab

    19/45

  • 8/19/2019 Removal by Exemplar-based Inpainting using matlab

    20/45

  • 8/19/2019 Removal by Exemplar-based Inpainting using matlab

    21/45

  • 8/19/2019 Removal by Exemplar-based Inpainting using matlab

    22/45

  • 8/19/2019 Removal by Exemplar-based Inpainting using matlab

    23/45

  • 8/19/2019 Removal by Exemplar-based Inpainting using matlab

    24/45

  • 8/19/2019 Removal by Exemplar-based Inpainting using matlab

    25/45

  • 8/19/2019 Removal by Exemplar-based Inpainting using matlab

    26/45

    +omarisons

  • 8/19/2019 Removal by Exemplar-based Inpainting using matlab

    27/45

  • 8/19/2019 Removal by Exemplar-based Inpainting using matlab

    28/45

      4ur result Paer result

  • 8/19/2019 Removal by Exemplar-based Inpainting using matlab

    29/45

  • 8/19/2019 Removal by Exemplar-based Inpainting using matlab

    30/45

      4ur result Paer

  • 8/19/2019 Removal by Exemplar-based Inpainting using matlab

    31/45

  • 8/19/2019 Removal by Exemplar-based Inpainting using matlab

    32/45

      Paer result  4ur result

  • 8/19/2019 Removal by Exemplar-based Inpainting using matlab

    33/45

  • 8/19/2019 Removal by Exemplar-based Inpainting using matlab

    34/45

      4ur result Pa er result

  • 8/19/2019 Removal by Exemplar-based Inpainting using matlab

    35/45

  • 8/19/2019 Removal by Exemplar-based Inpainting using matlab

    36/45

      4ur result Paer result

  • 8/19/2019 Removal by Exemplar-based Inpainting using matlab

    37/45

  • 8/19/2019 Removal by Exemplar-based Inpainting using matlab

    38/45

      4ur result   Paer result

  • 8/19/2019 Removal by Exemplar-based Inpainting using matlab

    39/45

  • 8/19/2019 Removal by Exemplar-based Inpainting using matlab

    40/45

      Paperresult

    Our result

  • 8/19/2019 Removal by Exemplar-based Inpainting using matlab

    41/45

  • 8/19/2019 Removal by Exemplar-based Inpainting using matlab

    42/45

      4ur result Paer result

  • 8/19/2019 Removal by Exemplar-based Inpainting using matlab

    43/45

    52eriment and

    6uantitati$ecomarison

  • 8/19/2019 Removal by Exemplar-based Inpainting using matlab

    44/45

      #round ruth 4ur result

  • 8/19/2019 Removal by Exemplar-based Inpainting using matlab

    45/45

    5dges of the inainted   5dges of the ground