Chapter 6 Visualization Techniques for Vector Fields

Similar documents
Vector Visualization. CSC 7443: Scientific Information Visualization

2D vector fields 3. Contents. Line Integral Convolution (LIC) Image based flow visualization Vector field topology. Fast LIC Oriented LIC

Flow Visualisation - Background. CITS4241 Visualisation Lectures 20 and 21

3D vector fields. Contents. Introduction 3D vector field topology Representation of particle lines. 3D LIC Combining different techniques

8. Tensor Field Visualization

Vector Visualization

Flow Visualization with Integral Surfaces

Visualization, Lecture #2d. Part 3 (of 3)

Vector Field Visualisation

Flow Visualisation 1

Vector Visualization Chap. 6 March 7, 2013 March 26, Jie Zhang Copyright

Flow Visualization with Integral Objects. Visualization, Lecture #2d. Streamribbons, Streamsurfaces, etc. Flow visualization, Part 3 (of 3)

Data Visualization. Fall 2017

Data Visualization (CIS/DSC 468)

Using Integral Surfaces to Visualize CFD Data

Vector Field Visualization: Introduction

Simulation vs. measurement vs. modelling 2D vs. surfaces vs. 3D Steady vs time-dependent d t flow Direct vs. indirect flow visualization

Lecture overview. Visualisatie BMT. Vector algorithms. Vector algorithms. Time animation. Time animation

An Introduction to Flow Visualization (1) Christoph Garth

Mass-Spring Systems. Last Time?

Vector Visualization

Vector Visualisation 1. global view

Vector Field Visualization: Introduction

Over Two Decades of IntegrationBased, Geometric Vector Field. Visualization

CIS 467/602-01: Data Visualization

mjb March 9, 2015 Chuck Evans

Volume Illumination & Vector Field Visualisation

Adarsh Krishnamurthy (cs184-bb) Bela Stepanova (cs184-bs)

Comparing LIC and Spot Noise

Texture Advection. Ronald Peikert SciVis Texture Advection 6-1

Visualization techniques for curvilinear grids

Lecture notes: Visualization I Visualization of vector fields using Line Integral Convolution and volume rendering

Edge and corner detection

Part I: Theoretical Background and Integration-Based Methods

Non-Rigid Image Registration III

Physically Based Simulation

Simulation in Computer Graphics. Particles. Matthias Teschner. Computer Science Department University of Freiburg

Physically Based Simulation

Volume Rendering. Computer Animation and Visualisation Lecture 9. Taku Komura. Institute for Perception, Action & Behaviour School of Informatics

A Broad Overview of Scientific Visualization with a Focus on Geophysical Turbulence Simulation Data (SciVis

Function Based 2D Flow Animation

Cloth Simulation. COMP 768 Presentation Zhen Wei

Simulation in Computer Graphics. Deformable Objects. Matthias Teschner. Computer Science Department University of Freiburg

Flow Visualization: The State-of-the-Art

NIA CFD Seminar, October 4, 2011 Hyperbolic Seminar, NASA Langley, October 17, 2011

The Jello Cube Assignment 1, CSCI 520. Jernej Barbic, USC

Visualizing 3D Velocity Fields Near Contour Surfaces

2.7 Cloth Animation. Jacobs University Visualization and Computer Graphics Lab : Advanced Graphics - Chapter 2 123

Fundamental Algorithms

Computational Foundations of Cognitive Science

Mid-Year Report. Discontinuous Galerkin Euler Equation Solver. Friday, December 14, Andrey Andreyev. Advisor: Dr.

Multi-variate Visualization of 3D Turbulent Flow Data

The jello cube. Undeformed cube. Deformed cube

Modeling Cloth Using Mass Spring Systems

Meshless Modeling, Animating, and Simulating Point-Based Geometry

Edge Detection (with a sidelight introduction to linear, associative operators). Images

Biometrics Technology: Image Processing & Pattern Recognition (by Dr. Dickson Tong)

weighted minimal surface model for surface reconstruction from scattered points, curves, and/or pieces of surfaces.

The Development of a Navier-Stokes Flow Solver with Preconditioning Method on Unstructured Grids

Image-Guided Streamline Placement Greg Turk, University of North Carolina at Chapel Hill David Banks, Mississippi State University

Image Analysis. Edge Detection

Revision of the SolidWorks Variable Pressure Simulation Tutorial J.E. Akin, Rice University, Mechanical Engineering. Introduction

Visualizing Flow Fields by Perceptual Motion

Image Registration Lecture 4: First Examples

A High-Order Accurate Unstructured GMRES Solver for Poisson s Equation

A Crowdsourcing System for Integrated and Reproducible Evaluation in Scientific Visualization Appendix: Application Cases

Cloth Simulation. Tanja Munz. Master of Science Computer Animation and Visual Effects. CGI Techniques Report

Edge detection. Winter in Kraków photographed by Marcin Ryczek

Image-Guided Streamline Placement

This work is about a new method for generating diffusion curve style images. Although this topic is dealing with non-photorealistic rendering, as you

The State of the Art in Flow Visualisation: Feature Extraction and Tracking

Previously... contour or image rendering in 2D

Edge detection. Goal: Identify sudden. an image. Ideal: artist s line drawing. object-level knowledge)

Course Review. Computer Animation and Visualisation. Taku Komura

Hierarchical Streamarrows for the Visualization of Dynamical Systems

CHAPTER 5 MOTION DETECTION AND ANALYSIS

The State of the Art in Flow Visualisation: Feature Extraction and Tracking

Topology Simplification for Turbulent Flow Visualization

Guidelines for proper use of Plate elements

Animation and Ray Tracing

Outline 7/2/201011/6/

Flexible multibody systems - Relative coordinates approach

Matching. Compare region of image to region of image. Today, simplest kind of matching. Intensities similar.

Edge Detection CSC 767

Digital Image Processing COSC 6380/4393

Particle Systems. Lecture 8 Taku Komura

Types of Edges. Why Edge Detection? Types of Edges. Edge Detection. Gradient. Edge Detection

A Level-Set Method for Flow Visualization

Finite difference methods

Scale Rate by Object Size: Only available when the current Emitter Type is Surface, Curve, or Volume. If you turn on this attribute, the

Directional Enhancement in Texture-based Vector Field Visualization

FLOW VISUALISATION OF POLYMER MELT CONTRACTION FLOWS FOR VALIDATION OF NUMERICAL SIMULATIONS

The State of the Art in Flow Visualization: Dense and Texture-Based Techniques

11/1/13. Visualization. Scientific Visualization. Types of Data. Height Field. Contour Curves. Meshes

Visualization. CSCI 420 Computer Graphics Lecture 26

OpenGL Graphics System. 2D Graphics Primitives. Drawing 2D Graphics Primitives. 2D Graphics Primitives. Mathematical 2D Primitives.

SIFT: SCALE INVARIANT FEATURE TRANSFORM SURF: SPEEDED UP ROBUST FEATURES BASHAR ALSADIK EOS DEPT. TOPMAP M13 3D GEOINFORMATION FROM IMAGES 2014

Introduction to Scientific Visualization

the lines of the solution obtained in for the twodimensional for an incompressible secondorder

Visualization of Turbulent Flow by Spot Noise

Transcription:

Chapter 6 Visualization Techniques for Vector Fields 6.1 Introduction 6.2 Vector Glyphs 6.3 Particle Advection 6.4 Streamlines 6.5 Line Integral Convolution 6.6 Vector Topology 6.7 References 2006 Burkhard Wuensche http://www.cs.auckland.ac.nz/~burkhard Slide 1

6.1 Introduction Vector fields are common in science and engineering: Displacement fields in elasticity theory, velocity fields in computational fluid dynamics (CFD), force fields (e.g. gravitation), displacement fields In general vector fields have an orientation and are then termed signed, though unsigned vector fields, such as eigenvector fields, also exist. 2006 Burkhard Wuensche http://www.cs.auckland.ac.nz/~burkhard Slide 2

Introduction (cont d) Many visualisation techniques for vector fields were specifically developed for velocity fields. Steady flows are constant over time. Unsteady flows vary over time Laminar flows are characterized by layers of fluid elements with similar velocities Turbulent flows the velocities in neighbouring fluid elements vary randomly. 2006 Burkhard Wuensche http://www.cs.auckland.ac.nz/~burkhard Slide 3

6.2 Vector Glyphs Draw arrow or line segment in the direction of the vector with length equal to the vector magnitude. Advantages: Good perception of visualized data (use illuminated volumetric icons for 3D vector field visualization). Disadvantages: Not clear which data point vector represents Leads to visual cluttering Requires a lot of screen space Easy to miss important features 2006 Burkhard Wuensche http://www.cs.auckland.ac.nz/~burkhard Slide 4

Vector Glyphs (cont d) Flow field probe (de Leeuw & van Wijk) Visualises additionally neighbourhood information derived from the local velocity gradient. The length, curvature and the candy stripes of the cylindrical shaft visualise magnitude, local streamline curvature and rotation of the flow field. The half ellipsoid at the bottom of the shaft encodes acceleration of velocities. The bending circular membrane describes convergence or divergence. The angle of the ring shaped surface with respect to a reference frame encodes shear. 1994, Frits H. Post and Jarke J. van Wijk, Visual representation of vector fields: recent developments and research directions, in Scientific Visualization: Advances and Challenges, Academic Press. 2006 Burkhard Wuensche http://www.cs.auckland.ac.nz/~burkhard Slide 5

6.3 Particle Advection Distribute a set of particles over the domain and advect them with the vector field. Flow direction and speed can be emphasized by blurring the particles. Intuitive and easily understood for visualising fluid flows. Well suited for turbulent flows where icons computed by integral curves and surfaces become highly irregular. Lack of interactivity if the particle number is too high. Difficulties in perceiving the 3D structure of the flow. 1994, Frits H. Post and Jarke J. van Wijk, Visual representation of vector fields: recent developments and research directions, in Scientific Visualization: Advances and Challenges, Academic Press. 2006 Burkhard Wuensche http://www.cs.auckland.ac.nz/~burkhard Slide 6

6.4 Streamlines A streamline s(t) for a vector field v(t) is defined as the solution to the differential equation s() t = vs ( ( t)); s(0) = x0 dt v( t1) s( t ) 1 s() t s( t ) 0 2006 Burkhard Wuensche http://www.cs.auckland.ac.nz/~burkhard Slide 7

Streamlines (cont d) Need shading and occlusion to better perceive the 3D geometry of streamlines Fit thin tube around the lines 2006 Burkhard Wuensche http://www.cs.auckland.ac.nz/~burkhard Slide 8

Streamlines (cont d) A simple algorithm to compute a streamline: Approximate streamline by polyline x 0x1x 2x 3K x = s( t ) where x i i t = 0, t = t + t 0 i+ 1 i and is computed by xi+ 1 = xi + t v( xi) i 2006 Burkhard Wuensche http://www.cs.auckland.ac.nz/~burkhard Slide 9

Streamlines (cont d) The Problem The above simple minded ODE solving method is called Euler s Method Errors accumulate steadily Can be unstable e.g. imagine too long a time step Vector at two time steps has opposite direction Converging solution can blow up! Need to use very small step sizes to get tolerable results Expensive and inefficient Need a better method to solve differential equations 2006 Burkhard Wuensche http://www.cs.auckland.ac.nz/~burkhard Slide 10

The mid-point method Can write x i+1 =s(t + t) as a Taylor expansion Euler s method takes first two terms on RHS. Improve by taking more. If take three, get mid-point method: In words: 2 2 ds t ds s( t + t) = s( t) + t + + L 2 dt 2 d t compute Euler step to get first guess at s(t+ t) Determine mid point s(t)+s(t+ t) Evaluate ds/dt (i.e. the vector field) at this point Use this value to compute a new step s( t+ t) = s() t + t( f (() s t + t f (()))) s t 2 ds where f( s( t)) = dt 2006 Burkhard Wuensche http://www.cs.auckland.ac.nz/~burkhard Slide 11

Other issues Even mid-point method often not good enough Use even higher-order methods, e.g. fourth-order Runge Kutta Need adaptive step sizes for best efficiency - use long time steps when things are moving slowly, short ones when changes are rapid. Test for vector field singularities Fundamental limitation of explicit ODE solvers: Don t work well for stiff equations (common in computational fluid dynamics) Better to use implicit methods 2006 Burkhard Wuensche http://www.cs.auckland.ac.nz/~burkhard Slide 12

6.5 Line Integral Convolution Convolute noise texture with vector field Equivalent to averaging weighted pixel intensities along small streamlines 2006 Burkhard Wuensche http://www.cs.auckland.ac.nz/~burkhard Slide 13

Line Integral Convolution (cont d) For any pixel I(q,r) of the input texture the centre p 0 =(q+0.5,r+0.5) of it is used as the centre of a streamline which is advected forwards and backwards by a length L. The pixels intersected by the streamline in the forward direction have v( pi 1 ) the indices pi, x, p i, y where pi = pi 1 + si 1 ( ) v( p ) and s is the distance to the pixel boundary and i s 1 0 = s = 1 = s + s Pixels intersected in the backward direction are computed analogously and are indicated by negative indices. For each line segment [s i, s i+1 ] of the streamline intersecting pixel p i an exact integral of a convolution kernel k(w) is computed and used s as weight in the LIC i + si h = k( w) dw i si 2006 Burkhard Wuensche http://www.cs.auckland.ac.nz/~burkhard Slide 14 i 1 0, i i i

Line Integral Convolution (cont d) The output pixel O(q,r) is then given by O( q, r) l i= l = ( ),,, I p p h i x i y i l i= l h i In the simplest case the convolution kernel is a box filter so that the output texture represents the weighted input texture along the streamline. Vector magnitude is represented either by using colour mapping or by varying the length L of the filter kernel. 2006 Burkhard Wuensche http://www.cs.auckland.ac.nz/~burkhard Slide 15

Line Integral Convolution (cont d) Influence of parameters Top row: LIC with a kernel length of 40. From left to right: using white noise, using low pass filtered white noise, using low pass filtered white noise and contrast stretching the output texture. Bottom row: kernel length of 10,20, and 160. All images are contrast stretched and use lowpass filtered white noise 2006 Burkhard Wuensche http://www.cs.auckland.ac.nz/~burkhard Slide 16

Line Integral Convolution (cont d) 2006 Burkhard Wuensche http://www.cs.auckland.ac.nz/~burkhard Slide 17

6.6 Vector Field Topology A vector field v(x) can be characterized by considering its critical points which are points with zero vector magnitude. Critical points are the only points where streamlines are non-parallel and therefore indicate important flow features. A critical point x 0 can be classified by considering the eigenvalues of the Jacobian v i ( x0 ) = x j 2006 Burkhard Wuensche http://www.cs.auckland.ac.nz/~burkhard Slide 18 J v x 0

Vector Field Topology (cont d) The type of a critical point indicates the flow pattern in its immediate neighbourhood. In two dimensions the Jacobian of a vector field is a 2x2 matrix and therefore has two eigenvalues with real components R 1 and R 2 and imaginary components I 1 and I 2. The type of a critical point and hence the local flow topology depends on the signs of these components. Real components greater or smaller than zero represent repelling or attracting flow features, respectively. Non-zero imaginary components symbolise circular flows. 2006 Burkhard Wuensche http://www.cs.auckland.ac.nz/~burkhard Slide 19

Vector Field Topology (cont d) 2006 Burkhard Wuensche http://www.cs.auckland.ac.nz/~burkhard Slide 20

Vector Field Topology (cont d) The vector field topology is obtained by connecting critical points by special streamlines 1994, Lambertus Hesselink and Thierry Delmarcelle, Chapter 26: Visualization of vector and tensor data sets, in Scientific Visualization: Advances and Challenges, Academic Press. 2006 Burkhard Wuensche http://www.cs.auckland.ac.nz/~burkhard Slide 21

6.7 References L. Rosenblum et al., Scientific Visualization - Advances and Challenges, Academic Press, 1994. Burkhard Wünsche, Scientific Visualization, chapter 4, In A Toolkit for the Visualization of Tensor Fields in Biomedical Finite Element Models, PhD Thesis, 2003. Brian Cabral and Leith (Casey) Leedom, Imaging Vector Fields Using Line Integral Convolution", Computer Graphics (SIGGRAPH '93 Proceedings), vol. 26, pages 263-272, August 1993. Willem C. de Leeuw and J. J. van Wijk, A Probe for Local Flow Field Visualization, Proceedings of IEEE Visualization '93, pages 39-45, 1993. J. J. van Wijk, Rendering Surface Particles, Proceedings of IEEE Visualization '92, pages 54-61, 1992. James L. Helman and Lambertus Hesselink, Visualizing Vector Field Topology in Fluid Flows, IEEE Computer Graphics & Applications, vol. 11, no. 3, pages 36-46, May 1991. 2006 Burkhard Wuensche http://www.cs.auckland.ac.nz/~burkhard Slide 22