Volumetric Visualization. Outline Announcements –PS III due today –contest entries by tomorrow –PS IV online today--GUI vs. VV –Demos on Friday What is.

Slides:



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

Reconstruction from Voxels (GATE-540)
6.2d4 Volume by Slicing. Revolve the area bound by the x-axis the curve f(x) = -(x - 1) and the x-axis.
Direct Volume Rendering. What is volume rendering? Accumulate information along 1 dimension line through volume.
Chapter 11 Above: Principal contraction rates calculated from GPS velocities. Visualized using MATLAB.
ES 314 Lecture 2 Sep 1 Summary of lecture 1: course overview intro to matlab sections of Chapters 2 and 3.
Waller Creek 8 th Street Side Weir CFD Modeling and Simulation ALDEN Research Laboratory Inc. 30 Shrewsbury St., Holden, MA Preliminary Results September.
Hank Childs, University of Oregon November 6 th, 2013 Spatial-Based and Variable-Based Selections.
Interpolation, color, & light. Outline Announcements –HW II--due today, 5PM –HW III on the web later today HW I: Issues Structured vs. Unstructured Meshes.
Fall 2006AE6382 Design Computing1 Three Dimensional Plotting Learning Objectives –Understand the anatomy of a 3D plot –Basics of constructing plots in.
University of British Columbia CPSC 314 Computer Graphics Jan-Apr 2005 Tamara Munzner Information Visualization.
11-1 Space Figures and Cross Sections
Chapter 4.1 Mathematical Concepts
Chapter 4.1 Mathematical Concepts. 2 Applied Trigonometry Trigonometric functions Defined using right triangle  x y h.
Introduction to Volume Visualization Mengxia Zhu Fall 2007.
ENDS 375 Foundations of Visualization Geometric Representation 10/5/04.
Statistics and Simple Plots. Outline Announcements: –Homework II: due Wed. by 5, by Cookie Challenge Statistics Simple plots Tutorial 4.
 1999 BG Mobasseri1 8/29/2015 MATLAB GRAPHICS - PART II ADVANCED PLOTTING June 4, ‘99.
lecture 2 : Visualization Basics
CS559: Computer Graphics Lecture 33: Shape Modeling Li Zhang Spring 2008.
Volumetric Visualization. Outline Announcements –PS III due Friday –Last day for self-motivated assignment Belated CookiePresentation What is VV? Slices.
THIS IS With Host... Your Anglers Choice Tri- it out! Is a Square just a Square? The 3 rd Dimension Geo. Splash You should see.
Lecture 18 Chapter 12 Matrices continued. Outline from Chapter Matrix Operations Matrix Multiplication Matrix Division
Differential Equations and Slope Fields By: Leslie Cade 1 st period.
MATLAB Week 4 01 December Outline More plotting – A few other 3-D plotting functions – Basic volume visualization Creating functions Vectorized.
Marching Cubes: A High Resolution 3D Surface Construction Algorithm William E. Lorenson Harvey E. Cline General Electric Company Corporate Research and.
MA/CS 3751 Fall 2002 Lecture 24. MA/CS 3752 ginput ginput is a Matlab function which takes one argument input: number of points to select in the image.
Geometric Modeling. Volumetric o Collection device obtains regular grid of measurement values Examples: CT, MRI, PET, Ultrasound o Values are interpreted/visualized.
CS559: Computer Graphics Lecture 24: Shape Modeling Li Zhang Spring 2010.
Computational Methods of Scientific Programming Lecturers Thomas A Herring, Room A, Chris Hill, Room ,
CDS 301 Spring, 2013 CH3: MATLAB 3-D Visualization February 07, TBD Jie Zhang Copyright ©
Outline Announcements –HW II due Friday –HW III option Interpolation Colormaps.
Introduction MATLAB stands for MATrix LABoratory.  Basics  Matrix Manipulations  MATLAB Programming  Graphics  Image types  Image Processing  Useful.
Introduction to MATLAB Session 5 Simopekka Vänskä, THL 2010.
A lesson approach © 2011 The McGraw-Hill Companies, Inc. All rights reserved. a lesson approach Microsoft® Excel 2010 © 2011 The McGraw-Hill Companies,
Vocabulary A polyhedron is a three-dimensional solid with flat surfaces and straight edges. Each polygon is a face of the polyhedron. An edge is a segment.
2D Routines in 3D. Outline Announcements –HW II--due Friday. 5PM HW1 & Cookie Grids & Meshes Representing f(x,y) Lines & Surfaces in 3D Survey.
Vertices, Edges and Faces By Jordan Diamond. Vertices In geometry, a vertices is a special kind of point which describes the corners or intersections.
Numerical Analysis 3D Plots. A numerical method is a technique for computing a numerical approximation of the solution to a mathematical problem.
Hank Childs, University of Oregon Volume Rendering, pt 1.
June 14, ‘99 COLORS IN MATLAB.
CHAPTER 5 CONTOURING. 5.3 CONTOURING Fig 5.7. Relationship between color banding and contouring Contour line (isoline): the same scalar value, or isovalue.
3-D Information cs5764: Information Visualization Chris North.
2/24/2016 A.Aruna/Assistant professor/IT/SNSCE 1.
Chapter 11: Surface Area & Volume
11-1 Space Figures and Cross Sections Objectives To recognize polyhedra and their parts To visualize cross sections of space figures.
CDS 301 Fall, 2008 Domain-Modeling Techniques Chap. 8 November 04, 2008 Jie Zhang Copyright ©
1 Introduction to Computer Graphics with WebGL Ed Angel Professor Emeritus of Computer Science Founding Director, Arts, Research, Technology and Science.
MA/CS375 Fall MA/CS 375 Fall 2002 Lecture 5.
Vocabulary for the Common Core Sixth Grade.  base: The side of a polygon that is perpendicular to the altitude or height. Base of this triangle Height.
UNIT 11: 3D AutoCAD Objectives: How to print or plot a drawing How to setup a layout using title blocks and viewports Create and manage new layouts Be.
Introduction to 3D Solids and Solids of Revolution Some 3D shapes can be formed by revolving a 2D shape around a line (called the axis of revolution).
การใช้งานโปรแกรม MATLAB ดร. อำนาจ ขาวเน. BASIC ELEMENTS OF MATLAB MATLAB Desktop MATLAB Editor Help System MATLAB (MATrix LABoratory)
An Introduction to Programming in Matlab Emily Blumenthal
EEE 242 Computer Tools for Electrical Engineering
1 E. Angel and D. Shreiner: Interactive Computer Graphics 6E © Addison-Wesley 2012 Marching Squares Ed Angel Professor Emeritus of Computer Science University.
3D Ojbects: Transformations and Modeling. Matrix Operations Matrices have dimensions: Vectors can be thought of as matrices: v=[2,3,4,1] is a 1x4 matrix.
Reading and Writing Image Files
Volume Visualization Chap. 10 November 20 , 2008 Jie Zhang Copyright ©
Ch3 Graphics Overview of Plotting Editing Plots
Volume Visualization Chap. 10 December 3 , 2009 Jie Zhang Copyright ©
Domain-Modeling Techniques
Hank Childs, University of Oregon
10.1 Solid Geometry Geometry.
Warm Up Classify each polygon. 1. a polygon with three congruent sides
Simplify each expression.
From Voxels to 3D Uri Mike.
Yang-Ming University, Taipei, Taiwan
Visualization CSE 694L Roger Crawfis The Ohio State University.
Simplify each expression.
Presentation transcript:

Volumetric Visualization

Outline Announcements –PS III due today –contest entries by tomorrow –PS IV online today--GUI vs. VV –Demos on Friday What is VV? Slices Isosurfaces Controlling transparency Example: CT data

What is VV? y=f(x) => lines z=f(x,y) => surfaces v=f(x(t),y(t),z(t)) => surfaces with color≠ z v=f(x,y,z) => true 3D data ?

Representing V=f(x,y,z) we have a value ofVv for every point in a volume V is a cube of data (m-by-n-by-p) We need X, Y, Z of the same size to indicate positions of data –Typically, we have a regular grid defined by vectors x, y, & z –[X,Y,Z]=meshgrid(x,y,z) produces 3D arrays needed by Matlab’s VV functions X, Y, Z are m-by-n-by-p for all j & k, X(j,:,k)=x, Y(:,j,k)=y, Z(j,k,:)=z

Example: CT data CT scans (“Computerized Tomography” a.k.a. CAT scans) produce a series of cross- sectional x-rays Several slices can be stacked together to form a volume

Example: CT data CT scans of head and thorax from dogs provided by Dr. Ned Dykes at NYSCVM Each slice is a separate tiff file –loaded each tiff with imread –stacked into array head –Thinned the data set –[Xs,Ys,Zs,Heads]=reducevolume( X,Y,Z,Head,[4,4,1]); –Cropped data –Head_reduce4.4.1_crop.mat

Visualizing V Simplest way is to look at a particular row/column/layer of V –pcolor(x,y,V(:,:,k))--layer k –pcolor(x,z,squeeze( V(:,k,:) ))--column k –pcolor(y,z,squeeze(V(k,:,:) ))--row k squeeze removes singleton dimensions –v(k,:,:) is 1-by-n-by-p –squeeze(v(k,:,:)) is n-by-p

General Slicing h=slice(X,Y,Z,V,xs,ys,zs) –slices V at multiple planes –slice(X,Y,Z,V,[20 30],[],[10]) produces 3 slices: x=20, x=30, z=10 –What if a slice falls between a row or column? h=slice(X,Y,Z,V,Xsurf,Ysurf,Zsurf) –slices V with a surface defined by Zs=f(Xs,Ys)

Slicing the dog clearslice(Xs,Ys,Zs,Heads,xs, ys,zs,thresh) –same as slice(Xs …) but values of Heads below the threshold are set to clear

Controlling Opacity The opacity of an object is controlled like color –can specify edgealpha and facealpha of a surface object can be set to a particular alpha level (0=transparent, 1=opaque) can be set to flat or interp just like colors in this case, Matlab uses determines opacity from –alphadata of surface (like cdata) –alphamap of figure (like colormap, but n-by-1) –alim of axes (like clim)

Isosurfaces Before perspective plots and color mapping, people plotted z=f(x,y) with countours: –curves of constant z Isosurfaces are analogous methods in 3D –find X,Y,Z s.t. f(X,Y,Z)=v

Isosurfaces fv=isosurface(X,Y,Z,V,v); fv is a struct describing a patch (or surface) object on a triangular mesh fv.vertices(j,:)=position of jth vertex[x, y, z] fv.faces(j,:)=1-by-3--index to 3 vertices forming triangle (like tri) h=patch(fv) will display the surface –set(h,’edgecolor’,’none’,’facecolor’,Colorspec,’faceligh ting’,’phong’)

Isosurfacing the Dog visiso(Xs,Ys,Zs,Hs,v)--makes a pretty isosurface, adds a light source