University of British Columbia CPSC 314 Computer Graphics Jan-Apr 2010 Tamara Munzner Spatial/Scientific Visualization.

Slides:



Advertisements
Similar presentations
Reconstruction from Voxels (GATE-540)
Advertisements

Graphics Pipeline.
Direct Volume Rendering. What is volume rendering? Accumulate information along 1 dimension line through volume.
3D Graphics Rendering and Terrain Modeling
Direct Volume Rendering (DVR): Ray-casting
Real-Time Rendering SPEACIAL EFFECTS Lecture 03 Marina Gavrilova.
University of British Columbia CPSC 314 Computer Graphics Jan-Apr 2005 Tamara Munzner Final Review Week 13,
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 May-June 2005 Tamara Munzner Scientific Visualization,
University of British Columbia CPSC 314 Computer Graphics Jan-Apr 2005 Tamara Munzner Information Visualization.
HCI 530 : Seminar (HCI) Damian Schofield.
1 Scientific Visualization Melanie Tory Acknowledgments: Torsten Möller (Simon Fraser University) Raghu Machiraju (Ohio State University) Klaus Mueller.
CS6500 Adv. Computer Graphics © Chun-Fa Chang, Spring 2003 Object-Order vs. Screen-Order Rendering April 24, 2003.
Introduction to Volume Rendering Presented by Zvi Devir.
(conventional Cartesian reference system)
Introduction to Volume Visualization Mengxia Zhu Fall 2007.
University of British Columbia CPSC 314 Computer Graphics Jan-Apr 2005 Tamara Munzner Visibility II Week 7,
University of British Columbia CPSC 314 Computer Graphics Jan-Apr 2010 Tamara Munzner Spatial/Scientific Visualization.
Volume Visualization Acknowledgements: Torsten Möller (SFU)
6.1 Vis_04 Data Visualization Lecture 6 - A Rough Guide to Rendering.
University of British Columbia CPSC 414 Computer Graphics © Tamara Munzner 1 Shading Week 5, Wed 1 Oct 2003 recap: lighting shading.
Part I: Basics of Computer Graphics Rendering Polygonal Objects (Read Chapter 1 of Advanced Animation and Rendering Techniques) Chapter
ITUppsala universitet Data representation and fundamental algorithms Filip Malmberg
Info Vis: Multi-Dimensional Data Chris North cs3724: HCI.
WPI Center for Research in Exploratory Data and Information Analysis From Data to Knowledge: Exploring Industrial, Scientific, and Commercial Databases.
Computer Graphics Shadows
Modeling and representation 1 – comparative review and polygon mesh models 2.1 Introduction 2.2 Polygonal representation of three-dimensional objects 2.3.
Visualization using Matlab April 10, 2007 Rachael Brady CSEM Matlab Workshop.
Technology and Historical Overview. Introduction to 3d Computer Graphics  3D computer graphics is the science, study, and method of projecting a mathematical.
Graphics Graphics Korea University cgvr.korea.ac.kr Creating Virtual World I 김 창 헌 Department of Computer Science Korea University
© 2010 Pearson Addison-Wesley. All rights reserved. Addison Wesley is an imprint of Designing the User Interface: Strategies for Effective Human-Computer.
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.
Computer Graphics An Introduction. What’s this course all about? 06/10/2015 Lecture 1 2 We will cover… Graphics programming and algorithms Graphics data.
Week 11 - Thursday.  What did we talk about last time?  Image processing  Blurring  Edge detection  Color correction  Tone mapping  Lens flare.
Scientific Visualization Module 6 Volumetric Algorithms (adapted by S.V. Moore – slides deleted, modified, and added) prof. dr. Alexandru (Alex) Telea.
© 2010 Pearson Addison-Wesley. All rights reserved. Addison Wesley is an imprint of Designing the User Interface: Strategies for Effective Human-Computer.
REAL-TIME VOLUME GRAPHICS Christof Rezk Salama Computer Graphics and Multimedia Group, University of Siegen, Germany Eurographics 2006 Real-Time Volume.
C O M P U T E R G R A P H I C S Guoying Zhao 1 / 14 C O M P U T E R G R A P H I C S Guoying Zhao 1 / 14 Going-through.
Marching Cubes: A High Resolution 3D Surface Construction Algorithm William E. Lorenson Harvey E. Cline General Electric Company Corporate Research and.
University of British Columbia CPSC 314 Computer Graphics Jan-Apr 2007 Tamara Munzner Blending, Modern Hardware.
CSC 461: Lecture 3 1 CSC461 Lecture 3: Models and Architectures  Objectives –Learn the basic design of a graphics system –Introduce pipeline architecture.
Interactive Information Visualization of a Million Items
Unstructured Volume Rendering Jian Huang, CS 594, Spring 2002 This set of slides reference slides developed by Prof. Torsten Moeller, SFU, Canada.
1 Introduction to Computer Graphics with WebGL Ed Angel Professor Emeritus of Computer Science Founding Director, Arts, Research, Technology and Science.
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.
3D Volume Visualization. Volume Graphics  Maintains a 3D image representation that is close to the underlying fully-3D object (but discrete)  경계표면 (Boundary.
3-D Data cs5984: Information Visualization Chris North.
Volume Visualization Presented by Zhao, hai. What’ volume visualization Volume visualization is the creation of graphical representations of data sets.
112/5/ :54 Graphics II Image Based Rendering Session 11.
CHAPTER 10 VOLUME VISUALIZATION. OUTLINE 3D (volumetric) scalar fields Slice plane and isosurfaces techniques are limited in showing only a subset of.
CHAPTER 5 CONTOURING. 5.3 CONTOURING Fig 5.7. Relationship between color banding and contouring Contour line (isoline): the same scalar value, or isovalue.
CS559: Computer Graphics Final Review Li Zhang Spring 2010.
3-D Information cs5764: Information Visualization Chris North.
Painterly Rendering for Animation Introduction speaks of focus and detail –Small brush strokes focus and provide detail –Large strokes are abstract and.
Render methods. Contents Levels of rendering Wireframe Plain shadow Gouraud Phong Comparison Gouraud-Phong.
Computer Graphics One of the central components of three-dimensional graphics has been a basic system that renders objects represented by a set of polygons.
CSc4730/6730 Scientific Visualization
Scientific Visualization, Information Visualization I/II Week 5, Thu Jun 9
Volume Rendering Lecture 21.
Real-Time Volume Graphics [06] Local Volume Illumination
Computer Graphics One of the central components of three-dimensional graphics has been a basic system that renders objects represented by a set of polygons.
Graphics and Multimedia
Volume Rendering Lecture 21.
CS5500 Computer Graphics May 29, 2006
CHAPTER 7: Information Visualization
Adding Surface Detail 고려대학교 컴퓨터 그래픽스 연구실.
Adding Surface Detail 고려대학교 컴퓨터 그래픽스 연구실.
Presentation transcript:

University of British Columbia CPSC 314 Computer Graphics Jan-Apr 2010 Tamara Munzner Spatial/Scientific Visualization II, Nonspatial/Information Visualization Week 13, Mon Apr 12

2 News Reminders H4 due Mon 4/12 5pm P4 due Wed 4/14 5pm Extra TA office hours in lab 005 for P4/H4 Mon 4/ , 3-5 (Garrett) Tue 4/13 3:30-5 (Kai) Wed 4/14 2-4, 5-7 (Shailen) Thu 4/ (Kai) Fri 4/ (Garrett) Project 4 demo signup sheet

3 Review: B-Spline C 0, C 1, and C 2 continuous piecewise: locality of control point influence

4 Review: Volume Graphics for some data, difficult to create polygonal mesh voxels: discrete representation of 3D object volume rendering: create 2D image from 3D object translate raw densities into colors and transparencies different aspects of the dataset can be emphasized via changes in transfer functions

5 Review: Volume Graphics pros formidable technique for data exploration cons rendering algorithm has high complexity! special purpose hardware costly (~$3K-$10K) volumetric human head (CT scan)

6 Review: Isosurfaces 2D scalar fields: isolines contour plots, level sets topographic maps 3D scalar fields: isosurfaces

7 Review: Isosurface Extraction array of discrete point samples at grid points 3D array: voxels find contours closed, continuous determined by iso-value several methods marching cubes is most common Iso-value = 5

8 Review: Marching Cubes create cube classify each voxel binary labeling of each voxel to create index use in array storing edge list all 256 cases can be derived from 15 base cases interpolate triangle vertex calculate the normal at each cube vertex render by standard methods

9 Review: Direct Volume Rendering do not compute surface

10 Review: Rendering Pipeline Classify

11 Review: Setting Transfer Functions can be difficult, unintuitive, and slow f  f  f  f  Gordon Kindlmann

12 Rendering Pipeline Classify Shade

13 Spatial/Scientific Visualization II

14 Light Effects usually only consider reflected part Light absorbed transmitted reflected Light=refl.+absorbed+trans. Light ambient specular diffuse Light=ambient+diffuse+specular

15 Rendering Pipeline Classify Shade Interpolate

16 Interpolation given: needed: 2D 1D given: needed: nearest neighbor linear

17 Rendering Pipeline Classify Shade Interpolate Composite

18 Volume Rendering Algorithms ray casting image order, forward viewing splatting object order, backward viewing texture mapping object order back-to-front compositing

19 Ray Traversal Schemes Depth Intensity Max Average Accumulate First

20 Ray Traversal - First first: extracts iso-surfaces (again!) Depth Intensity First

21 Ray Traversal - Average average: looks like X-ray Depth Intensity Average

22 Ray Traversal - MIP max: Maximum Intensity Projection used for Magnetic Resonance Angiogram Depth Intensity Max

23 Ray Traversal - Accumulate accumulate: make transparent layers visible Depth Intensity Accumulate

24 Splatting each voxel represented as fuzzy ball 3D gaussian function RGBa value depends on transfer function fuzzy balls projected on screen, leaving footprint called splat composite front to back, in object order

25 Texture Mapping 2D: axis aligned 2D textures back to front compositing commodity hardware support must calculate texture coordinates, warp to image plane 3D: image aligned 3D texture simple to generate texture coordinates

26 Nonspatial/Information Visualization

27 Reading FCG Chap 27 N/A 2nd edition, available online at

28 Why Do Visualization? pictures help us think substitute perception for cognition external memory: free up limited cognitive/memory resources for higher-level problems

29 Information Visualization interactive visual representation of abstract data help human perform some task more effectively bridging many fields computer graphics: interact in realtime cognitive psychology: find appropriate representation HCI: use task to guide design and evaluation external representation reduces load on working memory offload cognition familiar example: multiplication/division infovis example: topic graphs

30 External Representation: Topic Graphs Paradoxes - Lewis Carroll Turing - Halting problem Halting problem - Infinity Paradoxes - Infinity Infinity - Lewis Carroll Infinity - Unpredictably long searches Infinity - Recursion Infinity - Zeno Infinity - Paradoxes Lewis Carroll - Zeno Lewis Carroll - Wordplay Halting problem - Decision procedures BlooP and FlooP - AI Halting problem - Unpredictably long searches BlooP and FlooP - Unpredictably long searches BlooP and FlooP - Recursion Tarski - Truth vs. provability Tarski - Epimenides Tarski - Undecidability Paradoxes - Self-ref [...] [Godel, Escher, Bach: The Eternal Golden Braid. Hofstadter 1979] hard to find topics two hops away from target

31 External Representation: Topic Graphs offload cognition to visual system

32 Automatic Node-Link Graph Layout manual: hours, days automatic: seconds [Godel, Escher, Bach. Hofstadter 1979][dot, Gansner et al, 1973.]

33 When To Do Vis? need a human in the loop augment, not replace, human cognition for problems that cannot be (completely) automated simple summary not adequate statistics may not adequately characterize complexity of dataset distribution Anscombe’s quartet: same mean variance correlation coefficient linear regression line

34 Visualization Design Layers depends on both data and task

35 Semiology of Graphics. Jacques Bertin, Gauthier-Villars 1967, EHESS 1998 position size grey level texture color shape orientation pointslinesareas marks: geometric primitives attributes Visual Encoding attributes parameters control mark appearance separable channels flowing from retina to brain

36 Visual Encoding Example: Scatterplot x position y position hue size Robertson et al. Effectiveness of Animation in Trend Visualization. IEEE TVCG (Proc. InfoVis08) 14:6 (2008),

37 Data Types quantitative lengths: 10 inches, 17 inches, 23 inches ordered sizes: small, medium, large days: Mon, Tue, Wed,... categorical fruit: apples, oranges, bananas [Stolte and Hanrahan. Polaris: A System for Query, Analysis and Visualization of Multi-dimensional Relational Databases. Proc InfoVis graphics.stanford.edu/projects/polaris/ ]

38 Channel Ranking Varies By Data Type [Mackinlay, Automating the Design of Graphical Presentations of Relational Information, ACM TOG 5:2, 1986]

39 Integral vs. Separable Dimensions not all dimensions separable [Colin Ware, Information Visualization: Perception for Design. Morgan Kaufmann 1999.] color location color motion color shape size orientation x-size y-size red-green yellow-blue

40 Preattentive Visual Channels color alone, shape alone: preattentive combined color and shape: requires attention search speed linear with distractor count [Christopher Healey, [

41 Preattentive Visual Channels preattentive channels include hue shape texture length width size orientation curvature intersection intensity flicker direction of motion stereoscopic depth lighting direction many more... [Healey, [

42 Coloring Categorical Data 22 colors, but only ~8 distinguishable [ research.lumeta.com/ches/map]

43 Coloring Categorical Data discrete small patches separated in space limited distinguishability: around 8-14 channel dynamic range low best to choose bins explicitly maximal saturation for small areas [Colin Ware, Information Visualization: Perception for Design. Morgan Kaufmann 1999.]

44 Quantitative Colormaps dangers of rainbows perceptually nonlinear arbitrary not innate ordering other approaches explicitly segmented colormaps monotonically increasing/(decreasing) luminance, plus hue to semantically distinguish regions Rogowitz and Treinish. Data Visualization: The End of the Rainbow. IEEE Spectrum 35(12):52-59, Dec 1998.

45 3D vs 2D Representations curve comparison difficult: perspective distortion, occlusion dataset is abstract, not inherently spatial after data transformation to clusters, linked 2D views of representative curves show more [van Wijk and van Selow, Cluster and Calendar based Visualization of Time Series Data, InfoVis99

46 Space vs Time: Showing Change animation: show time using temporal change good: show process good: flip between two things bad: flip between between many things interference between intermediate frames [Outside In excerpt. [ [Edward Tufte. The Visual Display of Quantitative Information, p 172]

47 Space vs Time: Showing Change small multiples: show time using space overview: show each time step in array compare: side by side easier than temporal external cognition vs internal memory general technique, not just for temporal changes [Edward Tufte. The Visual Display of Quantitative Information, p 172]

48 Composite Views pixel-oriented views overviews with high information density superimposing/layering shared coordinate frame redundant visual encoding [Jones, Harrold, and Stasko. Visualization of Test Information to Assist Fault Localization. Proc. ICSE 2002, p ] [Munzner. Interactive Visualization of Large Graphs and Networks. Stanford CS, 2000]

49 Composite Views: Glyphs internal structure where subregions have different visual channel encodings [Ward. A Taxonomy of Glyph Placement Strategies for Multidimensional Data Visualization. Information Visualization Journal 1:3-4 (2002), ] [Smith, Grinstein, and Bergeron. Interactive data exploration with a supercomputer. Proc. IEEE Visualization, p , 1991.]

50 Adjacent: Multiple Views different visual encodings show different aspects of the data linked highlighting to show where contiguous in one view distributed within another [Weaver.

51 Adjacent Views overview and detail same visual encoding, different resolutions small multiples same visual encoding, different data