Синтез изображений по изображениям. Рельефные текстуры.

Slides:



Advertisements
Similar presentations
RealityEngine Graphics Kurt Akeley Silicon Graphics Computer Systems.
Advertisements

Direct Volume Rendering. What is volume rendering? Accumulate information along 1 dimension line through volume.
Week 11 - Wednesday.  Image based effects  Skyboxes  Lightfields  Sprites  Billboards  Particle systems.
3D Graphics Rendering and Terrain Modeling
Fast Volume Rendering Using a Shear-Warp Factorization of the Viewing Transformation Philippe Larcoute & Marc Levoy Stanford University Published in SIGGRAPH.
Real-Time Rendering TEXTURING Lecture 02 Marina Gavrilova.
Basics. OpenGL. “Hello world” George Georgiev Telerik Corporation
1 Dr. Scott Schaefer Shadows. 2/40 Shadows Shadows provide clues about depth Make scenes appear more realistic.
Real-Time Rendering SPEACIAL EFFECTS Lecture 03 Marina Gavrilova.
Dana Cobzas-PhD thesis Image-Based Models with Applications in Robot Navigation Dana Cobzas Supervisor: Hong Zhang.
A new approach for modeling and rendering existing architectural scenes from a sparse set of still photographs Combines both geometry-based and image.
HCI 530 : Seminar (HCI) Damian Schofield.
Copyright  Philipp Slusallek Cs fall IBR: Model-based Methods Philipp Slusallek.
CS6500 Adv. Computer Graphics © Chun-Fa Chang, Spring 2003 Object-Order vs. Screen-Order Rendering April 24, 2003.
Advanced Computer Graphics (Fall 2010) CS 283, Lecture 16: Image-Based Rendering and Light Fields Ravi Ramamoorthi
Advanced Computer Graphics (Spring 2005) COMS 4162, Lecture 21: Image-Based Rendering Ravi Ramamoorthi
Image-Based Modeling and Rendering CS 6998 Lecture 6.
View interpolation from a single view 1. Render object 2. Convert Z-buffer to range image 3. Re-render from new viewpoint 4. Use depths to resolve overlaps.
Copyright  Philipp Slusallek IBR: View Interpolation Philipp Slusallek.
Image-Based Rendering using Hardware Accelerated Dynamic Textures Keith Yerex Dana Cobzas Martin Jagersand.
CSCE 641 Computer Graphics: Image-based Rendering (cont.) Jinxiang Chai.
Siggraph’2000, July 27, 2000 Jin-Xiang Chai Xin Tong Shing-Chow Chan Heung-Yeung Shum Microsoft Research, China Plenoptic Sampling SIGGRAPH’2000.
A Novel 2D To 3D Image Technique Based On Object- Oriented Conversion.
CSCE 641: Computer Graphics Image-based Rendering Jinxiang Chai.
CS 563 Advanced Topics in Computer Graphics View Interpolation and Image Warping by Brad Goodwin Images in this presentation are used WITHOUT permission.
CS 563 Advanced Topics in Computer Graphics Introduction To IBR By Cliff Lindsay Slide Show ’99 Siggraph[6]
View interpolation from a single view 1. Render object 2. Convert Z-buffer to range image 3. Re-render from new viewpoint 4. Use depths to resolve overlaps.
1 Computer Graphics Week13 –Shading Models. Shading Models Flat Shading Model: In this technique, each surface is assumed to have one normal vector (usually.
Technology and Historical Overview. Introduction to 3d Computer Graphics  3D computer graphics is the science, study, and method of projecting a mathematical.
Advanced Computer Graphics (Spring 2013) CS 283, Lecture 15: Image-Based Rendering and Light Fields Ravi Ramamoorthi
Image-Based Rendering. 3D Scene = Shape + Shading Source: Leonard mcMillan, UNC-CH.
Graphics Graphics Korea University cgvr.korea.ac.kr 1 Texture Mapping 고려대학교 컴퓨터 그래픽스 연구실.
CS 450: COMPUTER GRAPHICS REVIEW: INTRODUCTION TO COMPUTER GRAPHICS – PART 2 SPRING 2015 DR. MICHAEL J. REALE.
Week 2 - Friday.  What did we talk about last time?  Graphics rendering pipeline  Geometry Stage.
Image-based Rendering. © 2002 James K. Hahn2 Image-based Rendering Usually based on 2-D imagesUsually based on 2-D images Pre-calculationPre-calculation.
3D Graphics for Game Programming Chapter IV Fragment Processing and Output Merging.
Advanced Computer Graphics Advanced Shaders CO2409 Computer Graphics Week 16.
Plenoptic Modeling: An Image-Based Rendering System Leonard McMillan & Gary Bishop SIGGRAPH 1995 presented by Dave Edwards 10/12/2000.
CSL 859: Advanced Computer Graphics Dept of Computer Sc. & Engg. IIT Delhi.
Texture Mapping CAP4730: Computational Structures in Computer Graphics.
Mark Nelson 3d projections Fall 2013
04/23/03© 2003 University of Wisconsin Where We’ve Been Photo-realistic rendering –Accurate modeling and rendering of light transport and surface reflectance.
112/5/ :54 Graphics II Image Based Rendering Session 11.
Review on Graphics Basics. Outline Polygon rendering pipeline Affine transformations Projective transformations Lighting and shading From vertices to.
Graphics Graphics Korea University cgvr.korea.ac.kr 1 7. Speed-up Techniques Presented by SooKyun Kim.
Real-Time Relief Mapping on Arbitrary Polygonal Surfaces Fabio Policarpo Manuel M. Oliveira Joao L. D. Comba.
Image-based Rendering Ref: RTRv2. 2 Introduction Sprite, billboard, overview.
CS559: Computer Graphics Final Review Li Zhang Spring 2010.
CSCE 641 Computer Graphics: Image-based Rendering (cont.) Jinxiang Chai.
COMPUTER GRAPHICS CS 482 – FALL 2015 SEPTEMBER 29, 2015 RENDERING RASTERIZATION RAY CASTING PROGRAMMABLE SHADERS.
Shadows David Luebke University of Virginia. Shadows An important visual cue, traditionally hard to do in real-time rendering Outline: –Notation –Planar.
Image-Based Rendering Geometry and light interaction may be difficult and expensive to model –Think of how hard radiosity is –Imagine the complexity of.
Presented by 翁丞世  View Interpolation  Layered Depth Images  Light Fields and Lumigraphs  Environment Mattes  Video-Based.
Introduction to Computer Graphics
Rendering Pipeline Fall, 2015.
- Introduction - Graphics Pipeline
Photorealistic Rendering vs. Interactive 3D Graphics
Week 2 - Friday CS361.
Week 11 - Wednesday CS361.
Image-Based Rendering
Image Based Methods of Terrain Rendering Reimar Schubert and A
CSCE 441 Computer Graphics 3-D Viewing
Modeling 101 For the moment assume that all geometry consists of points, lines and faces Line: A segment between two endpoints Face: A planar area bounded.
3D Graphics Rendering PPT By Ricardo Veguilla.
The Graphics Rendering Pipeline
Real-Time Image Mosaicing
Announcements Project 2 out today (help session at end of class)
Introduction to Meshes
CS5500 Computer Graphics May 29, 2006
Introduction to Meshes
Presentation transcript:

Синтез изображений по изображениям. Рельефные текстуры

Сегодня на лекции Введение в Синтез Изображений по Изображениям (Image-Based Rendering)Введение в Синтез Изображений по Изображениям (Image-Based Rendering) Простейшие методы IBRПростейшие методы IBR Рельефные текстуры (relief textures)Рельефные текстуры (relief textures) Введение в Синтез Изображений по Изображениям (Image-Based Rendering)Введение в Синтез Изображений по Изображениям (Image-Based Rendering) Простейшие методы IBRПростейшие методы IBR Рельефные текстуры (relief textures)Рельефные текстуры (relief textures)

Traditional Rendering User input texture maps, survey data User input texture maps, survey data Geometry Textures Light sources Geometry Textures Light sources Images Modeling Rendering For photorealism Modeling is hardModeling is hard Rendering is slowRendering is slow For photorealism Modeling is hardModeling is hard Rendering is slowRendering is slow

Image-Based Rendering Основные идеи: Использование изображений (фотографий) в качестве исходных данныхИспользование изображений (фотографий) в качестве исходных данных Использование методов обработки изображений для визуализации.Использование методов обработки изображений для визуализации. Основные идеи: Использование изображений (фотографий) в качестве исходных данныхИспользование изображений (фотографий) в качестве исходных данных Использование методов обработки изображений для визуализации.Использование методов обработки изображений для визуализации.

Image-Based Rendering Images user input range scanners Images user input range scanners Images & depth maps Images Modeling Rendering For photorealism Fast modelingFast modeling Complexity independent renderingComplexity independent rendering For photorealism Fast modelingFast modeling Complexity independent renderingComplexity independent rendering

Traditional vs. Image-based Imagebased computer graphics has three main advantages Image based computer graphics has three main advantages Photorealism of produced imagesPhotorealism of produced images The speedThe speed Simple modelingSimple modeling Imagebased computer graphics has three main advantages Image based computer graphics has three main advantages Photorealism of produced imagesPhotorealism of produced images The speedThe speed Simple modelingSimple modeling

Simplest IBR methods. Texture Texture - is the simplest of IBR methods.

Simplest IBR methods. Sprites Texture + simple planar geometry = Sprite Sprites are taken from certain camera position (sprite camera) Texture + simple planar geometry = Sprite Sprites are taken from certain camera position (sprite camera)

Simplest IBR methods. Sprites No geometry information and... Sprites are looking good from view-points close to the sprite camera, but awful from others No geometry information and... Sprites are looking good from view-points close to the sprite camera, but awful from others

3D model rendering distortions What are we missing? The effect of 3-dimensionality on the screen is a combination of two effects: perspective distortion and parallax Sprites are capable of producing perspective distortions but they are unable to produce correct parallax effect What are we missing? The effect of 3-dimensionality on the screen is a combination of two effects: perspective distortion and parallax Sprites are capable of producing perspective distortions but they are unable to produce correct parallax effect

Sprites with Depth Combine depth and color: Color texel now is a 3D sample. Combine depth and color: Color texel now is a 3D sample.

Warping Using the samples z- values, image can be transformed (or warped), to enchance the image descriptive power (realism)

Planar pinhole camera

Orthographic camera

3D point position from a pinhole camera One image is not enough to determine location of a point in 3D.

From two cameras If we have two cameras, Camera 1 and Camera 2 with different parameters, capturing the same scene from different locations, a point can be expressed as

Warping example

Schematic view Depth map Final view Warping x’ = warp(x) Parallax, perspective projection, translation

Relief textures Most of modern 3D accelerators can ultimately fast render textured triangles => We can use this capability to speed up and simplify Image-Based Rendering Such an algorithm is called Relief Textures Most of modern 3D accelerators can ultimately fast render textured triangles => We can use this capability to speed up and simplify Image-Based Rendering Such an algorithm is called Relief Textures

Schematic view Relief textures Final view Pre-warping Parallax Warped textures Texture mapping Perspective projection, translation Software Hardware

New warping function x’ = warp(x) = g(h(x), Poly), where –g(y, Poly) is texture-mapping function and usually done in hardware –h(x) is pre-warpring function x’ = warp(x) = g(h(x), Poly), where –g(y, Poly) is texture-mapping function and usually done in hardware –h(x) is pre-warpring function

New warping function (2) Prewarping function h(x) after some optimizations looks like following: u2 = (u1+mu[d])*nu[d]; v2 = (v1+mv[d])*nv[d]; Extremely simple, isn’t it? Prewarping function h(x) after some optimizations looks like following: u2 = (u1+mu[d])*nu[d]; v2 = (v1+mv[d])*nv[d]; Extremely simple, isn’t it?

Two stage warping example

Two stage warping example (2)

Filling holes This sprite with depth was warped to the new viewpoint Look how many empty spaces on the women face and hair at the picture Let’s call them holes This sprite with depth was warped to the new viewpoint Look how many empty spaces on the women face and hair at the picture Let’s call them holes

Two classes of holes All the holes fall into two classes by its nature Resampling problemResampling problem Missing informationMissing information All the holes fall into two classes by its nature Resampling problemResampling problem Missing informationMissing information

Resampling Before warping After warping

Resampling methods Methods to fill the holes Inverse warpingInverse warping MeshingMeshing SplattingSplatting InterpolationInterpolation Methods to fill the holes Inverse warpingInverse warping MeshingMeshing SplattingSplatting InterpolationInterpolation

Splatting Draw a little cloud (splat) instead of a pixel in desired image. This cloud has to be opaque in its center becoming more and more transparent to its sides Features Relatively small computation costRelatively small computation cost Not all the holes are filledNot all the holes are filled Draw a little cloud (splat) instead of a pixel in desired image. This cloud has to be opaque in its center becoming more and more transparent to its sides Features Relatively small computation costRelatively small computation cost Not all the holes are filledNot all the holes are filled

Interpolation Use the fact that u and v are independent from each other after pre-warping (two-pass algorithm) and linearly interpolate depth and color in the intermediate and final images

Interpolation (2)

Пример 1 Пример 2