Real time gradient domain painting
This presentation is the property of its rightful owner.
Sponsored Links
1 / 25

Real-Time Gradient-Domain Painting PowerPoint PPT Presentation


  • 136 Views
  • Uploaded on
  • Presentation posted in: General

ACM- ToG 2008. Real-Time Gradient-Domain Painting. James McCann, Nancy S. Pollard. Presenter : Min Jung Kim. Why Gradient Domain?. Human visual system Very sensitive to Gradient Rather than intensity itself It seems reasonable as an input

Download Presentation

Real-Time Gradient-Domain Painting

An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -

Presentation Transcript


Real time gradient domain painting

ACM-ToG 2008

Real-Time Gradient-Domain Painting

James McCann, Nancy S. Pollard

Presenter : Min Jung Kim


Why gradient domain

Why Gradient Domain?

  • Human visual system

    • Very sensitive to Gradient

    • Rather than intensity itself

  • Itseems reasonable as an input

    • One may wish to work directly in the gradient domain

  • But it took some time..

Direct cloning

Clone gradient : seamless cloning


They did it

They did it!

  • Present image editing program

    • allows artists to paint in the gradient domain

    • with real time feedback

    • On megapixel-sized images


Application 1

Application #1

  • Drawing & coloring nice picture!


Application 2

Application #2

  • Extending the crack using a segment of existing crack

  • Adding own orange stripe


Application 3

Application #3

  • Removing wrinkles


In real time

In Real Time!

An so on …


Whole system

Whole System

  • Brushes

    • Allow user to draw gradients

  • Blending Modes

    • New gradients are combined with the existing gradients by this mode

  • Integrator

    • Allows us to display the result of this process in real time


Brushes

Brushes

  • Type

    • Gradient Brush

    • Edge Brush

    • Clone Brush

  • Gradient Brush

    • Paints intensity difference

Original image

+strokes

Produced

gradients

Final

image


Brushes1

Brushes

  • Type

    • Gradient Brush

    • Edge Brush

    • Clone Brush

  • Edge Brush

    • Playback captured gradients(A)

Original image

+strokes

Produced

gradients

Final

image


Brushes2

Brushes

Original image

+strokes

Produced

gradients

Final

image

  • Type

    • Gradient Brush

    • Edge Brush

    • Clone Brush

  • Clone Brush

    • Copies gradients relative to a source location(A) onto a destination(B)


Blending modes

Blending Modes

  • Type

    • Additive Blending

    • Maximum Blending

    • Minimum Blending

    • Over Blending

    • Directional Blending

  • Additive Blending


Blending modes1

Blending Modes

  • Type

    • Additive Blending

    • Maximum Blending

    • Minimum Blending

    • Over Blending

    • Directional Blending

  • Maximum Blending

    • Useful when cloning or copying edge

Edge brush

+ Maximum

blending mode


Blending modes2

Blending Modes

  • Type

    • Additive Blending

    • Maximum Blending

    • Minimum Blending

    • Over Blending

    • Directional Blending

  • Minimum Blending

    • Useful when cloning or copying edge

Edge brush

+ Minimum

blending mode


Blending modes3

Blending Modes

  • Type

    • Additive Blending

    • Maximum Blending

    • Minimum Blending

    • Over Blending

    • Directional Blending

  • Over Blending

    • Useful when cloning or erasing texture with the gradient brush


Blending modes4

Blending Modes

  • Type

    • Additive Blending

    • Maximum Blending

    • Minimum Blending

    • Over Blending

    • Directional Blending

  • Directional Blending

    • Enhances background gradients

      • Point in the same direction as the brush gradient

Shadow was darkened using directional blending


Integration

Integration

  • Multi-grid method

    • The solution for a coarse grid

      • Resembles the solution for a fine grid

      • Takes fewer steps to obtain

      • Can prime the solution for a fine grid


Integration1

Integration

  • Multi-grid method

    • Convergence rate

      • This method turns out to have the fastest convergence

Fine grid

Coarse grid

The large-scale, low-resolution features are solved quickly

The small-scale, high-resolution features are filled in on the fine grids


Integration2

Integration

single call to V-cycle

  • Notation

    • u : image with gradient close

    • : gradient field of 257x257 image

    • R : restriction operator

      • Smooth / subsample

    • P : interpolation operator

      • Inserts values / bilinear interpolation

What we want

What we got

: poisson eq.

Restrict f to coarser grid

0


Integration3

Integration

single call to V-cycle

single call to V-cycle

Initial

condition

result of

1 V-cycle

result of

1 V-cycle

Interpolate, refine the coarser solution

Restrict f to coarser grid

0


Summary

Summary

  • Demonstrated

    • easy-to-implement real-time integration system

    • Interface with different brush types and blending modes

  • Painting in the gradient domain

    • Gives users the ability to create and modify edges without specifying an associated region


My own example

My own example


My own example1

My own example


A ny questions

Any Questions?


  • Login