• No results found

Flow Visualization

N/A
N/A
Protected

Academic year: 2022

Share "Flow Visualization"

Copied!
31
0
0

Laster.... (Se fulltekst nå)

Fulltekst

(1)

Tutorial on Information Theory in Visualization

Flow Visualization

Han-Wei Shen

The Ohio State University

(2)

Entropy for Scientific Data

• A data set can be considered as a random variable

• Each data point can be considered as an outcome of the random variable

• We can estimate the information content for the

whole data set or for local regions

(3)

Distributions from Scientific Data

Scalar Distributions

Uni-variate

Multi-variate

Vector Distributions

Feature Distributions State Transitions

(4)

Data Sets with Multiple Variables

• Assuming your data set contains two variables X and Y

• You want to know the relationship between X and Y

• You can calculate the conditional entropy, mutual information, etc between these two variables

• Some of the metrics can be used as the ‘information

distance’ between two variables

(5)

Entropy for Multiple Variables

• Joint Entropy

• Conditional Entropy

• Mutual Information

(6)

Relations of Entropy Measures

(7)

Evaluating Visualization

010100010101 000001011111 111110101000 000111110011

Visualization pipeline

X Y

(8)

Vector Field Analysis

• Concept

Treat the vector field as a data source that generates vector orientation as outcome

The more diverse the vector orientations, the more information is contained in the vector field

• Measurement

Estimate the distribution of the vector orientation

Compute the entropy of this distribution as the measurement

Vector field Polar Histogram

(9)

Information in Vector Fields

(10)

Entropy Field and Seeding

Measure the entropy around each point’s neighborhood

Vector Field Entropy field: higher value means more information in the corresponding region Entropy-based seeding: Places streamlines on the region with high

entropy

(11)

Evaluation of Visualization

Can more

information be shown?

Visualization Algorithm

Yes

Visualization Data

Information

Information in Visualization

No

Information in Data

Stop

(12)

Information Comparison between Data/Visualization

Conditional entropy H(X|Y):

The information in X not represented by Y

An effective visualization should represent most information in the data, i.e. H(X|Y) should be small

Vector Field X

H(X) H(Y)

Streamlines Y

H(X|Y)

(13)

H(X)

Conditional Entropy and Joint Entropy

H(X|Y) H(Y) H(X, Y) H(Y)

= –

Vector field from the streamlines

Entropy of the synthesized vectors

Input vector field Entropy of the joint distribution of both original

and synthesized vectors

Joint Entropy of

both X and Y Entropy of Y

streamlines

Conditional Entropy of both X given Y

(14)

Conditional Entropy Field and Seeding

Measure the under-represented information in local regions

Streamlines Conditional entropy field

Conditional-entropy-based seeding: Place more seeds on

regions with higher under-represented information

(15)

Result

1st iteration: Entropy- based seeding

2nd iteration: Cond.- entropy-based seeding

When conditional entropy converges

Conditional entropy

(16)

View-dependent Flow Visualization

• Goal: create a clear view of important features in 3D flow fields by streamline placement

• Issue: occlusion among the flow features

• Approaches

• Evaluate flow field in screen space by information theory

• Place streamline to highlight salient flow features with less

occlusion

(17)

Image-Space Flow Complexity

• Goal

• Measure the flow complexity on the screen

• Not trivial because multiple flow features can overlap on the screen

• Approach: consider the most complex flow features visible from the given viewpoint

If the salient flow features are self occluded, only a subset of the them are visible

Object Space Screen

Viewer

(18)

Flow Complexity Evaluation

18

Flow Field View-Dependent

Flow Complexity

Object Space Image Space

View-independent Entropy Field

(19)

Maximal Entropy Projection (MEP)

MEP: Project the entropy field to the screen via Maximal Intensity Projection (MIP)

Sample the maximal entropy visible to each pixel

Store the sampled entropy and depth in the MEP Framebuffer

Entropy Depth

Max Intensity Projection

MEP Framebuffer Entropy Field

(20)

Streamline Evaluation

Entropy Depth

MEP Framebuffer

Streamlines w/ less occlusion to the MEP

Framebuffer

Streamlines that occluded to the MEP Framebuffer Input Streamlines

(21)

MEP-based Streamline Placement

• Highlight salient flow features

• Reduce occlusion to these features

Vector Field

Streamline Evaluation

Streamline Selection

Object Space Image Space

Initial Streamlines Output Streamlines

(22)

MEP-based Streamline Placement

High

Streamline Density

Low Streamline Density

(23)

Streamline Statistical Feature Descriptors

• Each streamline is represented as one or more

distributions of feature measures such as curvature, curl and torsion

23

(24)

• Problem of 1D histograms

• The order of features is not preserved in the final histogram

A streamline with

only one high curvature zone

A streamline with two high curvature zone

Streamline Statistical Feature Descriptors

(25)

• Solution: 2D Histograms

• Decompose the streamline into a fixed number of segments

• Create 1D histogram of appropriate quantity for each segment

• Stack the 1D histograms to form a 2D histogram which preserve the order between segments

Streamline Statistical Feature Descriptors

(26)

Streamline Decomposition

• An iterative segmentation algorithm

• Recursively divide into segments until:

The difference in the 1D histograms between two halves is smaller than a threshold

Streamline segment is too short to be

further segmented

(27)

Measure Similarity Between Two Streamlines

• Compute similarity between the 2D histograms of two streamlines

• As two streamline have different number of segments,

• Apply Dynamic Time Warping (DTW) to find an optimal mapping between segments

• For each pair of segments,

• Use Earth Mover’s Distance to measure the distance of their 1D histograms

EMD(X

i

, Y

j

)

Streamline X

Segment X1

Segment X2

Segment X3

Streamline Y

Segment Y1

Segment Y2

Segment Y3

(28)

Similarity-based Streamline Query

(Hurricane Isabel Data Set)

• Streamlines having similar features as the one selected by the user are displayed to highlight features in the data

• Histograms based on Curvature and Torsion are used to answer query in this particular case

Hurricane Isabel

Top 400 matches Top 200 matches User selected target User selected target

(29)

Similarity-based Streamline Query

(Solar Plume Data Set)

• Query response using curvature and torsion based histograms

Solar Plume

Top 200 matches

Top 20 matches

User selected streamline

User selected streamline

(30)

Similarity-based Streamline Query

(Ocean Data Set)

(31)

Streamline Clustering

• Clusters are formed based on curvature distribution

• Vortices and linear regions are in two different clusters

2D Ocean Wind dataset

Referanser

RELATERTE DOKUMENTER

Figure 1: Vector field visualizations synthesized using MRF texture synthesis with a gradient example texture that is rotated and scaled according to the vector field.. The two

A hard control over a region of liquid is obtained by fixing, independent of the physics- based model, the velocity field inside the region undergoing hard control and enforcing

Now that we have a representative vector proxy for each region of the mesh, a distortion error is defined that deter- mines how close the simplification is to our original flow

Each plot shows measurements for a 2D data set (Benard convection) and a 2.5D data set (a spher- ical object with a vector field given on a 3D texture). Fig- ure 4a) reports timings

• Selective rendering in high quality the foveal region based on gaze information. MCConcie, Loschky 1997; Watson

[LvWJH04] present a side-by-side comparison between two image space based methods for visualization of vector fields on surfaces: Im- age Space Advection (ISA) [LJH03] and Image

One of the main challenges specific to geometric flow visualization is the seeding strategy used to place the objects within the data domain.. Geometric vector visualization

Figure 4: Comparison of different scalar fields of the bending energy with our characteristic scalar field:(a) underlying vector field as line integral convolution