blurring techniques

39
Blurring Techniques Zhenyu Shu 2006.4.17

Upload: stephanie-potter

Post on 31-Dec-2015

84 views

Category:

Documents


0 download

DESCRIPTION

Blurring Techniques. Zhenyu Shu 2006.4.17. Scene Rendering. Object Space -> Image Space Method: Scan line rendering, Ray tracing, etc Traditional method focused at all depth without depth of field. Advantage of Blurring. Add realism to a scene - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Blurring Techniques

Blurring Techniques

Zhenyu Shu

2006.4.17

Page 2: Blurring Techniques

Scene Rendering

Object Space -> Image Space

Method: Scan line rendering, Ray tracing, etc

Traditional method focused at all depth without depth of field

Page 3: Blurring Techniques

Advantage of Blurring

Add realism to a scene

Draw viewer’s attention to a particular place

Page 4: Blurring Techniques

Example

without blurring with blurring

Page 5: Blurring Techniques

How to add blurring? Object Space

Synthetic Image Generation with and Aperture Camera Model, M. Potmesil, I. Chakravarty, 1981, Siggraph

Distributed Ray Tracing, R.L. Cook, 1984, Siggraph

Camera Models and Optical Systems Used in Computer Graphics: Part I, Object-Based Techniques, Brian A. Barsky, Daniel R. Horn, Stanley A. Klein;Jerrey A. Pang,and Meng Yu, 2003, ICCSA

Page 6: Blurring Techniques

How to add blurring? Image space

Camera Models and Optical Systems Used in Computer Graphics: Part II, Image-Based Techniques, Brian A. Barsky, Daniel R. Horn, Stanley A. Klein;Jerrey A. Pang,and Meng Yu, 2003, ICCSA

Elimination of artifacts due to occlusion and discretization problems in image space blurring techniques, Brian A. Barsky, Michael J. Tobias, Derrick P. Chu, Daniel R. Horn, 2005, Graphical Models

Page 7: Blurring Techniques

The Finite Aperture Camera Model

Page 8: Blurring Techniques

Depth of field

Page 9: Blurring Techniques

Circle of confusion

Page 10: Blurring Techniques

Synthetic Image Generation

1. Hidden-Surface Processor

Page 11: Blurring Techniques

Synthetic Image Generation

2. Focus Processor

Page 12: Blurring Techniques

Example

Page 13: Blurring Techniques

Distributed ray tracing

Page 14: Blurring Techniques

Thin Lens Approximation

Page 15: Blurring Techniques

Thin Lens Approximation

Page 16: Blurring Techniques

Thick Lens Approximation

Page 17: Blurring Techniques

Thick Lens Approximation

Page 18: Blurring Techniques

Full Lens Systems

Page 19: Blurring Techniques

Full Lens Systems

Page 20: Blurring Techniques

Example

Page 21: Blurring Techniques

Object space blurring’s defects Computationally expensive

The increase in computation cost is proportional to the number of rays per pixel

Page 22: Blurring Techniques

Image space blurring

Image Depth Information

Page 23: Blurring Techniques

Image separated by depth

Page 24: Blurring Techniques

Final blurred image

Page 25: Blurring Techniques

Problems with image space blurring techniques

1. Occlusion problem

Page 26: Blurring Techniques

Problems with image space blurring techniques

2. Discretization Problem

Page 27: Blurring Techniques

Problems with image space blurring techniques

2. Discretization Problem

Page 28: Blurring Techniques

How to eliminate artifacts

1. Object Identification: detect large objects straddling several sub-images 1.1 Edge detection technique 1.2 Adjacent pixel difference technique

2. Extend each sub-images and blur respectively

Page 29: Blurring Techniques

Edge detection technique

Get edges of subimages Use Canny edge detection algorithm

Page 30: Blurring Techniques

Edge detection technique

Extend the region

Page 31: Blurring Techniques

Example

Original image and depth information

Page 32: Blurring Techniques

Example

Blurred image without object identification

Page 33: Blurring Techniques

Example

Blurred image with object identification

Page 34: Blurring Techniques

Adjacent pixel difference technique

Use depth’s difference

Set the bound, adjacent pixels within the bound belong to the same object

Page 35: Blurring Techniques

Example

Page 36: Blurring Techniques

Example: Original Image

Page 37: Blurring Techniques

Example: blur without object identification

Page 38: Blurring Techniques

Example: blur with object identification

Page 39: Blurring Techniques

Example: blur with object identification