Robert S. Laramee 1 Visualization, Lecture Volume Visualization Part 2 (of 4) Direct Volume.

Slides:



Advertisements
Similar presentations
7.1 Vis_04 Data Visualization Lecture 7 3D Scalar Visualization Part 2 : Volume Rendering- Introduction.
Advertisements

Envisioning Information Lecture 14 – Scientific Visualization
Reconstruction from Voxels (GATE-540)
Direct Volume Rendering. What is volume rendering? Accumulate information along 1 dimension line through volume.
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.
CLASS 9 ADVANCE RENDERING RAY TRACING RADIOSITY LIGHT FIELD CS770/870.
Hank Childs, University of Oregon November 15 th, 2013 Volume Rendering, Part 2.
Volume Rendering Volume Modeling Volume Rendering Volume Modeling Volume Rendering 20 Apr
Direct Volume Rendering (DVR): Ray-casting
University of British Columbia CPSC 314 Computer Graphics Jan-Apr 2007 Tamara Munzner Visualization Week 11,
University of British Columbia CPSC 314 Computer Graphics Jan-Apr 2005 Tamara Munzner Virtual Trackball, Scientific.
University of British Columbia CPSC 314 Computer Graphics Jan-Apr 2005 Tamara Munzner Information Visualization.
1 Scientific Visualization Melanie Tory Acknowledgments: Torsten Möller (Simon Fraser University) Raghu Machiraju (Ohio State University) Klaus Mueller.
Splatting Josh Anon Advanced Graphics 1/29/02. Types of Rendering Algorithms Backward mapping Image plane mapped into data Ray casting Forward mapping.
Introduction to Volume Rendering Presented by Zvi Devir.
Direct Volume Rendering Joe Michael Kniss Scientific Computing and Imaging Institute University of Utah.
Introduction to Volume Visualization Mengxia Zhu Fall 2007.
Volume Visualization Acknowledgements: Torsten Möller (SFU)
6.1 Vis_04 Data Visualization Lecture 6 - A Rough Guide to Rendering.
Direct Volume Rendering w/Shading via Three- Dimensional Textures.
Volume Rendering & Shear-Warp Factorization Joe Zadeh January 22, 2002 CS395 - Advanced Graphics.
ITUppsala universitet Data representation and fundamental algorithms Filip Malmberg
Computer Graphics Inf4/MSc Computer Graphics Lecture 11 Texture Mapping.
Importance Driven Volume Rendering Authors: I. Viola, A. Kanitsar, M. Gröler Visualization II Instructor: Jessica Crouch.
Volumetric and Blobby Objects Lecture 8 (Modelling)
Volume Graphics (graduate course) Bong-Soo Sohn School of Computer Science and Engineering Chung-Ang University.
Technology and Historical Overview. Introduction to 3d Computer Graphics  3D computer graphics is the science, study, and method of projecting a mathematical.
19/18/ :34 Graphics II Volume Rendering Session 10.
Optical Models Jian Huang, CS 594, Spring 2002 This set of slides are modified from slides used by Prof. Torsten Moeller, at Simon Fraser University, BC,
Lecture 3 : Direct Volume Rendering Bong-Soo Sohn School of Computer Science and Engineering Chung-Ang University Acknowledgement : Han-Wei Shen Lecture.
COLLEGE OF ENGINEERING UNIVERSITY OF PORTO COMPUTER GRAPHICS AND INTERFACES / GRAPHICS SYSTEMS JGB / AAS 1 Shading (Shading) & Smooth Shading Graphics.
Scientific Visualization Module 6 Volumetric Algorithms (adapted by S.V. Moore – slides deleted, modified, and added) prof. dr. Alexandru (Alex) Telea.
REAL-TIME VOLUME GRAPHICS Christof Rezk Salama Computer Graphics and Multimedia Group, University of Siegen, Germany Eurographics 2006 Real-Time Volume.
ITUppsala universitet Advanced Computer Graphics Filip Malmberg
Marching Cubes: A High Resolution 3D Surface Construction Algorithm William E. Lorenson Harvey E. Cline General Electric Company Corporate Research and.
Direct Volume Rendering (DVR): Ray-casting Jian Huang This set of slides references slides used by Prof. Torsten Moeller (Simon Fraser), Prof. Han-Wei.
Robert S. Laramee 1 1 Flow Like You've Never Seen It Robert S. Laramee Visual and Interactive Computing.
CMSC 635 Volume Rendering. Volume data  3D Scalar Field: F(x,y,z) = ?  Implicit functions  Voxel grid  Scalar data  Density  Temperature  Wind.
Volume Rendering CMSC 491/635. Volume data  3D Scalar Field: F(x,y,z) = ?  Implicit functions  Voxel grid  Scalar data  Density  Temperature  Wind.
PRINCIPLES AND APPROACHES 3D Medical Imaging. Introduction (I) – Purpose and Sources of Medical Imaging Purpose  Given a set of multidimensional images,
3D Volume Visualization. Volume Graphics  Maintains a 3D image representation that is close to the underlying fully-3D object (but discrete)  경계표면 (Boundary.
Volume Visualization Presented by Zhao, hai. What’ volume visualization Volume visualization is the creation of graphical representations of data sets.
CHAPTER 10 VOLUME VISUALIZATION. OUTLINE 3D (volumetric) scalar fields Slice plane and isosurfaces techniques are limited in showing only a subset of.
Volume Visualization with Ray Casting
CHAPTER 5 CONTOURING. 5.3 CONTOURING Fig 5.7. Relationship between color banding and contouring Contour line (isoline): the same scalar value, or isovalue.
Direct Volume Rendering
3-D Information cs5764: Information Visualization Chris North.
Instructor: Mircea Nicolescu Lecture 5 CS 485 / 685 Computer Vision.
Digital Image Processing CSC331
Image Features (I) Dr. Chang Shu COMP 4900C Winter 2008.
Hardware-Accelerated Parallel Non-Photorealistic Volume Rendering Eric B.Lum Kwan-Liu Ma University of California at Davis.
Robert S. Laramee 1 Visualization, Lecture Flow visualization, Part 2 (of 3)
Robert S. Laramee 1 1 Visualization, Lecture #3 Volume Visualization, Part 1 (of 4)
Robert S. Laramee 1 Visualization Lecture Flow visualization, An Introduction.
고급 컴퓨터 그래픽스 (Advanced Computer Graphics)
Photorealistic Rendering vs. Interactive 3D Graphics
Volume Visualization Chap. 10 November 20 , 2008 Jie Zhang Copyright ©
3D Graphics Rendering PPT By Ricardo Veguilla.
Real-time Rendering Lab 4
Volume Rendering Lecture 21.
Volume Visualization Chap. 10 December 3 , 2009 Jie Zhang Copyright ©
Real-Time Volume Graphics [06] Local Volume Illumination
Volume Rendering (2).
CSc4730/6730 Scientific Visualization
Hank Childs, University of Oregon
Volume Rendering Lecture 21.
Volume Rendering.
Visualization CSE 694L Roger Crawfis The Ohio State University.
Illumination and Shading
Presentation transcript:

Robert S. Laramee 1 Visualization, Lecture Volume Visualization Part 2 (of 4) Direct Volume Visualization

Robert S. Laramee 2 Recall: Lecture #4 Contents of Lecture #4:  isocontours  isosurfaces  the Marching Cubes (MC) algorithm

Robert S. Laramee 3 Review: Slices  Scalar-clipping, combined with 3D

Robert S. Laramee 4 Overview: Lecture #5 Contents of Lecture #5:  introduction to direct volume visualization  ray functions  classification  transfer functions  gradients  ray casting  compositing

Robert S. Laramee 5 Direct Volume Visualization Overview:  No intermediate representation  “Real 3D”  Integration of so much information: difficult  Object-order vs. image-order rendering  Various techniques (ray casting, splatting, shear-warp, texture mapping, etc.)  Various rendering techniques (compositing, MIP, first-hit, average, etc.)

Robert S. Laramee 6 Direct Volume Visualization Terminology:  Ray Casting: the value of each pixel in the image is determined by sending a ray through the pixel into the scene (image order volume rendering)

Robert S. Laramee 7 Rendering Techniques: Ray Functions Ray Functions Overview:  MIP  (Maximum Intensity Projection)  Compositing   X-Ray   First Hit  Ray functions produce an intensity profile. Depth (into volume) Max Intensity Average Accumulate First Scalar Values

Robert S. Laramee 8 First Hit: Iso-surface Extraction First Hit Ray Function: Extracts iso-surfaces (again), done by Tuy&Tuy ’84 Depth First Scalar Values

Robert S. Laramee 9 Average: Like X-Rays Depth Average Average Ray Function: Produces basically an X-ray picture Scalar Field

Robert S. Laramee 10 MIP: maximum-intensity projection Depth Max Ray Function: Maximum Intensity Projection (MIP) used for Magnetic Resonance Angiogram (MRA) MaxIntensity Scalar Values

Robert S. Laramee 11 Depth Compositing: Semi-transparency Accumulate: Make transparent layers visible. Levoy ‘88 Accumulate Scalar values

Robert S. Laramee 12 Combining Ray Functions Some Possibilities:   -compositing  shaded surface display  maximum-intensity projection  x-ray simulation  contour rendering SSD DVR MIPx-ray

Robert S. Laramee 13 Classification Identifying the Data  Semantic:  ordering the objects, e.g. bones, skin, muscles, etc.  the use of data values, gradient information  goal: segmentation  often: semi-automatic, i.e., manual  automatic approximation: transfer functions  Huge topic in image processing

Robert S. Laramee 14 Transfer Functions Terminology transfer function: an operation that maps scalar values in 3D to color, opacity and/or material values. –bob’s definition

Robert S. Laramee 15 Transfer Functions Image Data  Presentable:  1.) data  color  2.) data  opacity (opposite of transparency) data value bones skin air opacity color yellow, semi-transparent red, opaque

Robert S. Laramee 16 Different Transfer Functions Results:  depend strongly on the transfer function  non-trivial setting/adjustment  segmentation only conditionally necessary

Robert S. Laramee 17 Lobster – Various Transfer Functions three objects: surrounding, shell, meat

Robert S. Laramee 18 Foot data – 1 i.e. 2 Transfer Function- Components

Robert S. Laramee 19 Gradients Terminology  Gradient: 1. the degree of inclination, or the rate of ascent or descent, in a highway, railroad, etc.  2.an inclined surface; grade; ramp.  3.Physics. a. the rate of change with respect to distance of a variable quantity, as temperature or pressure, in the direction of maximum change. b. a curve representing such a rate of change.  4.Mathematics. a differential operator that, operating upon a function of several variables, results in a vector the coordinates of which are the partial derivatives of the function. -

Robert S. Laramee 20 Including Gradients Emphasizing transitions (or boundaries):  special interest often in transition areas  gradients: measure changes (like surface normals)  larger gradient  more opacity

Robert S. Laramee D-Transfer Function:  Levoy ‘88  Opacity is a function of scalar value and local gradient  The greater the gradient magnitude, the higher the opacity  highlights transitions (large gradients)  dampens uniform areas (more transparency) Gradient Dependent Transfer Functions Opacity |  (x)| Gradient magnitude |  f(x)| Data value f(x)

Robert S. Laramee 22 Ray Casting / Compositing Detail Classical Image-Order Method

Robert S. Laramee 23 Ray Tracing vs. Ray Casting  Ray Tracing: image generation method  In volume rendering: only primary light scattering  thus Ray Casting  Classical image-order method  Ray tracing: radiate object surface or slices Ray casting: no objects, just scalar (e.g. density) values in 3D  Theory: consider all density values Practice: traverse volume slice by slice  Interpolation necessary per slice

Robert S. Laramee 24 Ray Through Volume Data Overview:  Volume Data: 1D values defined in 3D f(x)  R 1, x  R 3  Ray defined as half of a line: r(t)  R 3, t  R 1 >0  Values along Ray: f(r(t))  R 1, t  R 1 >0 (intensity profile)

Robert S. Laramee 25 Standard Ray Casting Levoy ’88: 1.C(i),  (i) (using transfer function) 2.Ray casting, interpolation 3.Compositing

Robert S. Laramee Shading and Classification of Voxel Values Step 1.:  voxel shading, f(i)  C(i):  according to transfer function  diffuse shading (Phong), gradient  normals  voxel classification, f(i)  (i):  Levoy ’88, according to gradients  emphasizes transitions/boundaries

Robert S. Laramee Ray traversal – Three Approaches

Robert S. Laramee Ray Traversal, Interpolation  Voxel-based vs. cell-based ray traversal  Tri-linear (interpolotion within the cell) vs. Bi-linear (interpolation along cell edges)  Tri-linear:  first 4* in z-Direction (Quadratic interpolation),  then 2* in y-Direction (Linear interpolation),  then 1* in x-Direction (value interpolation)

Robert S. Laramee Compositing Terminology compositing: the sample-by-sample accumulation of color and opacity values along a ray as it traverses volume data. –bob kernel: (a.k.a. convolution kernel a.k.a. convolution filter) “one or two dimensional images that are used for computing the weighted average of pixel images” –The OpenGL Programming Guide

Robert S. Laramee Compositing: F2B vs. B2F Back-to-Front (B2F):  c = c(1-  (iΔs)) + C(iΔs)   =  (1 -  (iΔs)) +  (iΔs) Front-to-Back (F2B):  c = C(iΔs)  (iΔs) (1-  ) + c   =  (iΔs)(1 -  ) +  c = current color  = opacity (inverse of transparency) i = sample index s = sample Δs = distance between samples C = color at sample

Robert S. Laramee 31 Front-to-back Compositing Demo(s)

Robert S. Laramee 32 Compositing: F2B vs. B2F F2B: a ray can be stopped once opacity approaches 1.0 -early ray termination. B2F: a generalization of the Painter’s algorithm –less frequently used.

Robert S. Laramee 33 Ray Casting – Examples Different transfer functions (quasi-surface rend.),  113 CT data

Robert S. Laramee 34 Ray Casting – More Examples  Tornado Viz:  Head data:

Robert S. Laramee 35 Ray Casting – more Examples Molecular data:

Robert S. Laramee 36 Literature Paper (more details):  Marc Levoy: “Display of Surfaces from Volume Data” in IEEE Computer Graphics & Applications, Vol. 8, No. 3, June 1988 For more, see also Data Visualization, Principles and Practice, Chapter 10 Volume Visualization, by A. Telea, AK Peters, 2008

Robert S. Laramee 37 Acknowledgements  We thank:  Nelson Max (LLNL), Marc Levoy (Stanford)  Hans-Georg Pagendarm (DLR, Göttingen)  Lloyd Treinish (IBM)  Roberto Scopigno, Claudio Montani (CNR, Pisa)  Roger Crawfis (Ohio State Univ.)  Michael Meißner (GRIS, Tübingen)  M. Eduard Gröller  Torsten Möller  Roberto Scopigno, Claudio Montani (CNR, Pisa)  Hans-Georg Pagendarm (DLR, Göttingen)  Michael Meißner (GRIS, Tübingen)  Torsten Möller  M. Eduard Gröller  Helwig Hauser