Tensor Field Visualization 9-1 Ronald Peikert SciVis 2007 - Tensor - - PowerPoint PPT Presentation

tensor field visualization
SMART_READER_LITE
LIVE PREVIEW

Tensor Field Visualization 9-1 Ronald Peikert SciVis 2007 - Tensor - - PowerPoint PPT Presentation

Tensor Field Visualization 9-1 Ronald Peikert SciVis 2007 - Tensor Fields Tensors "Tensors are the language of mechanics" T Tensor of order (rank) f d ( k) 0: scalar 1: vector 1: vector 2: matrix (example: stress tensor)


slide-1
SLIDE 1

Tensor Field Visualization

Ronald Peikert SciVis 2007 - Tensor Fields 9-1

slide-2
SLIDE 2

Tensors

"Tensors are the language of mechanics" T f d ( k) Tensor of order (rank) 0: scalar 1: vector 1: vector 2: matrix …

(example: stress tensor)

Tensors can have "lower" and "upper" indices, e.g. , indicating different transformation rules for change of coordinates

, ,

j ij ij i

a a a

indicating different transformation rules for change of coordinates.

Ronald Peikert SciVis 2007 - Tensor Fields 9-2

slide-3
SLIDE 3

Tensors

Visualization methods for tensor fields:

  • tensor glyphs

t fi ld li h t li

  • tensor field lines, hyperstreamlines
  • tensor field topology
  • fiber bundle tracking

fiber bundle tracking Tensor field visualization only deals with 2nd order tensors (matrices). → eigenvectors and eigenvalues contain full information. Separate visualization methods for symmetric and nonsymmetric tensors.

Ronald Peikert SciVis 2007 - Tensor Fields 9-3

tensors.

slide-4
SLIDE 4

Tensor glyphs

In 3D, tensors are 3x3 matrices. The velocity gradient tensor is nonsymmetric → 9 degrees of f d f th l l h f th l it t freedom for the local change of the velocity vector. A glyph developed by de Leeuw and van Wijk can visualize all these 9 DOFs: these 9 DOFs:

  • tangential acceleration (1): green "membrane"
  • rthogonal acceleration (2): curvature of arrow
  • rthogonal acceleration (2): curvature of arrow
  • twist (1): candy stripes
  • shear (2): orange ellipse (gray ellipse for ref.)

( ) g p (g y p )

  • convergence/divergence (3): white "parabolic reflector"

Ronald Peikert SciVis 2007 - Tensor Fields 9-4

slide-5
SLIDE 5

Tensor glyphs

Example: NASA "bluntfin" dataset, glyphs shown on points on a streamline.

Ronald Peikert SciVis 2007 - Tensor Fields 9-5

slide-6
SLIDE 6

S t i 3D t h l i l d th l

Tensor glyphs

Symmetric 3D tensors have real eigenvalues and orthogonal eigenvectors → they can be represented by ellipsoids. Three types of anisotropy: Anisotropy measure: yp py py

  • linear anisotropy
  • planar anisotropy

( ) ( ) ( ) ( )

1 2 1 2 3 2 3 1 2 3

2

l p

c c λ λ λ λ λ λ λ λ λ λ = − + + = − + +

  • isotropy (spherical)

( ) ( ) ( )

2 3 1 2 3 3 1 2 3

3

p s

c λ λ λ λ = + +

( )

λ λ λ ≥ ≥

( )

1 2 3

λ λ λ ≥ ≥

Ronald Peikert SciVis 2007 - Tensor Fields 9-6

Images: G. Kindlmann

slide-7
SLIDE 7

Tensor glyphs

Problem of ellipsoid glyphs:

  • shape is poorly recognized in projected view

Example: 8 ellipsoids, 2 views

Ronald Peikert SciVis 2007 - Tensor Fields 9-7

slide-8
SLIDE 8

Tensor glyphs

Problem of cuboid glyphs:

  • small differences in

Problems of cylinder glyphs:

  • discontinuity at cl = cp

eigenvalues are over- emphasized

  • artificial orientation at cs = 1

Ronald Peikert SciVis 2007 - Tensor Fields 9-8

slide-9
SLIDE 9

Tensor glyphs

Combining advantages: superquadrics Superquadrics with z as primary axis:

( )

cos sin sin sin

α β α β

θ φ θ φ θ φ ⎛ ⎞ ⎜ ⎟ = ⎜ ⎟ q (

)

, sin sin cos 2

z β

θ φ θ φ φ θ π φ π = ⎜ ⎟ ⎜ ⎟ ⎝ ⎠ ≤ ≤ ≤ ≤ q

with used as shorthand for

2 , 0 θ π φ π ≤ ≤ ≤ ≤

Superquadrics for some pairs (α β)

cosα θ

pairs (α,β) Shaded: subrange used for glyphs

cos sgn(cos )

α

θ θ

Ronald Peikert SciVis 2007 - Tensor Fields 9-9

slide-10
SLIDE 10

Tensor glyphs

Superquadric glyphs (Kindlmann): Given cl , cp , cs

  • compute a base superquadric using a sharpness value γ:

( ) ( )

( )

( ) ( ) ( )

( )

if : , with 1 and 1 , if : with 1 and 1

l p z p l

c c q c c q c c q c c

γ γ γ γ

θ φ α β θ φ θ φ α β ⎧ ≥ = − = − ⎪ = ⎨ ⎪ < = − = − ⎩

  • scale with cl , cp , cs along x,y,z and rotate into eigenvector frame

( ) ( )

( )

if : , with 1 and 1

l p x l p

c c q c c θ φ α β ⎪ < = = ⎩

c = 1 c = 1 c = 1 cs = 1 cs = 1 cs = 1

Ronald Peikert SciVis 2007 - Tensor Fields 9-10

γ = 1.5 γ = 3.0 γ = 6.0

cl = 1 cp = 1 cp = 1 cp = 1 cl = 1 cl = 1

slide-11
SLIDE 11

Tensor glyphs

Comparison of shape perception (previous example)

  • with ellipsoid glyphs
  • with superquadrics glyphs

Ronald Peikert SciVis 2007 - Tensor Fields 9-11

slide-12
SLIDE 12

Tensor glyphs

Comparison: Ellipsoids vs. superquadrics (Kindlmann) l ( ith

1

j i t )

( )

1 1

1 1 1 ⎛ ⎞ ⎛ ⎞ ⎛ ⎞ ⎜ ⎟ ⎜ ⎟ ⎜ ⎟ ⎜ ⎟ + ⎜ ⎟ ⎜ ⎟

x

e R G c e c

Ronald Peikert SciVis 2007 - Tensor Fields 9-12

color map: (with e1 = major eigenvector)

( )

1 1

1 1 1 ⎜ ⎟ ⎜ ⎟ ⎜ ⎟ = + − ⎜ ⎟ ⎜ ⎟ ⎜ ⎟ ⎜ ⎟ ⎜ ⎟ ⎜ ⎟ ⎝ ⎠ ⎝ ⎠ ⎝ ⎠

l y l z

G c e c B e

slide-13
SLIDE 13

Tensor field lines

Let T(x) be a (2nd order) symmetric tensor field.

→ real eigenvalues, orthogonal eigenvectors

Tensor field line: by integrating along one of the eigenvectors Important: Eigenvector fields are not vector fields!

  • eigenvectors have no magnitude and no orientation (are

bidirectional)

  • the choice of the eigenvector can be made consistently as long

as eigenvalues are all different

  • tensor field lines can intersect only at points where two or more

eigenvalues are equal, so-called degenerate points.

Ronald Peikert SciVis 2007 - Tensor Fields 9-13

slide-14
SLIDE 14

Tensor field lines

Tensor field lines can be rendered as hyperstreamlines: tubes with elliptic cross section, radii proportional to 2nd and 3rd eigenvalue. eigenvalue.

Ronald Peikert SciVis 2007 - Tensor Fields 9-14

Image credit: W. Shen

slide-15
SLIDE 15

Tensor field topology

Based on tensor field lines, a tensor field topology can be defined, in analogy to vector field topology. Degenerate points play the role of critical points: At degenerate points, infinitely many directions (of eigenvectors) exist. For simplicity, we only study the 2D case. For locating degenerate points: solve equations

( ) ( ) ( )

Ronald Peikert SciVis 2007 - Tensor Fields 9-15

( ) ( ) ( )

11 22 12

0, − = = x x x T T T

slide-16
SLIDE 16

Tensor field topology

It can be shown: The type of the degenerated point depends on where

ad bc δ = −

( ) ( )

11 22 11 22

1 1 2 2 T T T T a b x y ∂ − ∂ − = = ∂ ∂

12 12

T T c d x y ∂ ∂ = = ∂ ∂

  • for δ<0 the type is a trisector
  • for δ>0 the type is a wedge

Ronald Peikert SciVis 2007 - Tensor Fields 9-16

  • for δ=0 the type is structurally unstable
slide-17
SLIDE 17

Types of degenerate points illustrated with linear tensor fields

Tensor field topoloy

Types of degenerate points, illustrated with linear tensor fields. trisector double wedge single wedge

1 2 1 − ⎛ ⎞ = ⎜ ⎟ ⎝ ⎠ T x y y 1 2 3 1 x y y + ⎛ ⎞ = ⎜ ⎟ ⎝ ⎠ T 1 1 + ⎛ ⎞ = ⎜ ⎟ − ⎝ ⎠ T x y y x

2 2

1 ⎝ ⎠ ⎛ ⎞ + − = ⎜ ⎟ ⎜ ⎟ ⎝ ⎠ e y x y x y

2 2

1 9 3 y x x y y ⎝ ⎠ ⎛ ⎞ + + = ⎜ ⎟ ⎜ ⎟ ⎝ ⎠ e

2 2

1 ⎝ ⎠ ⎛ ⎞ = ⎜ ⎟ ⎜ ⎟ + − ⎝ ⎠ e y x y x y x

Ronald Peikert SciVis 2007 - Tensor Fields 9-17

1 δ = − 1 3 δ = 1 δ =

slide-18
SLIDE 18

Tensor field topology

Separatrices are tensor field lines converging to the degenerate point with a radial tangent. They are straight lines in the special case of a linear tensor field. Double wedges have one "hidden separatrix" and two other separatrices which actually separate regions of different field line p y p g behavior. Si l d h j t t i Single wedges have just one separatrix.

Ronald Peikert SciVis 2007 - Tensor Fields 9-18

slide-19
SLIDE 19

Tensor field topology

The angles of the separatrices are obtained by solving:

3 2

( 2 ) (2 ) dm c b m a d m c + + + − − =

If , the two angles

arctanm θ = ± ( ) ( ) m ∈

are angles of a separatrix. The two choices of signs correspond to the two choices of tensor field lines (minor and major eigenvalue). g ) If d = 0, an additional solution is

90 θ = ± °

There are in general 1 or 3 real solutions:

  • 3 separatrices for trisector and double wedge
  • 1 separatrix for single wedge

Ronald Peikert SciVis 2007 - Tensor Fields 9-19

1 separatrix for single wedge

slide-20
SLIDE 20

Tensor field topology

Saddles, nodes, and foci can exists as nonelementary (higher-

  • rder) degenerate points with δ=0. They are created by merging

trisectors or wedges. They are not structurally stable and break g y y up in their elements if perturbed.

Ronald Peikert SciVis 2007 - Tensor Fields 9-20

slide-21
SLIDE 21

Tensor field topology

The topological skeleton is defined as the set of separatrices of trisector points. Example: Topological transition of the stress tensor field of a flow Example: Topological transition of the stress tensor field of a flow past a cylinder

Ronald Peikert SciVis 2007 - Tensor Fields 9-21

Image credit: T. Delmarcelle

slide-22
SLIDE 22

DTI fiber bundle tracking

Diffusion tensor imaging (DTI) is a newer magnetic resonance imaging (MRI) technique. DTI produces a tensor field of the anisotropy of the brain's white DTI produces a tensor field of the anisotropy of the brain s white matter. Most important application: Tracking of fiber bundles. Interpretation of anisotropy types:

  • isotropy: no white matter
  • linear anisotropy: direction of fiber bundle

linear anisotropy: direction of fiber bundle

  • planar anisotropy: different meanings(!)

Fiber bundle tracking ≠ tensor field line integration because

Ronald Peikert SciVis 2007 - Tensor Fields 9-22

Fiber bundle tracking ≠ tensor field line integration, because bundles may cross each other

slide-23
SLIDE 23

DTI fiber bundle tracking

Method 1: Best neighbor algorithm (Poupon), based

  • n idea of restricting the curvature:
  • n idea of restricting the curvature:
  • at each voxel compute eigenvector of

dominant eigenvalue "di ti "

→ "direction map"

  • at each voxel M find "best neighbor

voxel" P according to angle criterion g g (mimimize max of α1,α2, α3 over 26 neighbors)

→ "tracking map" → tracking map

  • connect voxels (within a "white matter

mask") with its best neighbor.

Image credit: C. Poupon

Ronald Peikert SciVis 2007 - Tensor Fields 9-23

slide-24
SLIDE 24

DTI fiber bundle tracking

Method 2: Apply moving least squares filter which favors current direction of the fiber bundle (Zhukov and Barr) the fiber bundle (Zhukov and Barr).

filt d i l id filter domain voxel grid interpolated tensor data t k d b dl

Image credit: Zhukov/Barr

tensor data tracked bundle

Ronald Peikert SciVis 2007 - Tensor Fields 9-24

Image credit: Zhukov/Barr

slide-25
SLIDE 25

DTI fiber bundle tracking

Method 3: Tensor deflection (TEND) method (Lazar et al.) Idea: if v is the incoming bundle direction, use Tv as the direction of the next step. Reasoning:

  • Tv bends the curve towards the dominant eigenvector
  • Tv has the unchanged direction of v if v is an eigenvector of T or

a vector within the eigenvector plane if the two dominant a vector within the eigenvector plane if the two dominant eigenvalues are equal (rotationally symmetric T).

Ronald Peikert SciVis 2007 - Tensor Fields 9-25

slide-26
SLIDE 26

DTI fiber bundle tracking

Comparison: Tensor field lines (l), TEND (m), weighted sum (r), Stopping criteria: fractional anisotropy < 0 15 or angle between Stopping criteria: fractional anisotropy < 0.15 or angle between successive steps > 45 degrees

Ronald Peikert SciVis 2007 - Tensor Fields 9-26

image credit: M. Lazar

slide-27
SLIDE 27

DTI fiber bundle tracking

Clustering of fibers: Goal is to identify nerve tracts. automatic clustering results

  • ptic tract (orange) and

automatic clustering results

  • ptic tract (orange) and

pyramidal tract (blue).

Ronald Peikert SciVis 2007 - Tensor Fields 9-27

image credit: Merhof et al. / Enders et al.

slide-28
SLIDE 28

DTI fiber bundle tracking

Algorithmic steps 1. clustering based on geometric attributes: centroid, variance, curvature curvature, … 2. center line: find sets of "matching vertices" and average them 3. wrapping surface: compute convex hull in orthogonal slices, using Graham's Scan algorithm

Ronald Peikert SciVis 2007 - Tensor Fields 9-28