+ All Categories
Home > Documents > Min Chen, Andrew S Winter, David Rodgman and Steve Treavett Department of Computer Science

Min Chen, Andrew S Winter, David Rodgman and Steve Treavett Department of Computer Science

Date post: 10-Jan-2016
Category:
Upload: aric
View: 53 times
Download: 1 times
Share this document with a friend
Description:
Adapted from Min Chen’s Presentation in Dagstuhl Seminar 00211 Enriching Volume Modelling with Scalar Fields. Min Chen, Andrew S Winter, David Rodgman and Steve Treavett Department of Computer Science University of Wales Swansea [email protected]. CONTENTS. 1. The Role of Scalar Fields - PowerPoint PPT Presentation
Popular Tags:
59
Adapted from Min Chen’s Presentation in Dagstuhl Seminar 00211 Enriching Volume Modelling with Scalar Fields Min Chen, Andrew S Winter, David Rodgman and Steve Treavett Department of Computer Science University of Wales Swansea [email protected]
Transcript
Page 1: Min Chen, Andrew S Winter, David Rodgman and Steve Treavett Department of Computer Science

Adapted from Min Chen’s Presentation in

Dagstuhl Seminar 00211

Enriching Volume Modelling with

Scalar Fields

Adapted from Min Chen’s Presentation in

Dagstuhl Seminar 00211

Enriching Volume Modelling with

Scalar Fields

Min Chen, Andrew S Winter,David Rodgman and Steve Treavett

Department of Computer ScienceUniversity of Wales Swansea

[email protected]

Min Chen, Andrew S Winter,David Rodgman and Steve Treavett

Department of Computer ScienceUniversity of Wales Swansea

[email protected]

Page 2: Min Chen, Andrew S Winter, David Rodgman and Steve Treavett Department of Computer Science

CONTENTSCONTENTS

1. The Role of Scalar Fields Motivation

2. Volume Modelling with Scalar Fields Scope of Volume Modelling Constructive Volume Geometry Solid, Hyper- and NPR Textures

3. Direct Rendering of Scalar Fields Rendering Issues Rendering Effects

1. The Role of Scalar Fields Motivation

2. Volume Modelling with Scalar Fields Scope of Volume Modelling Constructive Volume Geometry Solid, Hyper- and NPR Textures

3. Direct Rendering of Scalar Fields Rendering Issues Rendering Effects

Page 3: Min Chen, Andrew S Winter, David Rodgman and Steve Treavett Department of Computer Science

1. THE ROLE OF SCALAR FIELDS1. THE ROLE OF SCALAR FIELDS

Page 4: Min Chen, Andrew S Winter, David Rodgman and Steve Treavett Department of Computer Science

“Field” in Surface Graphics (I)“Field” in Surface Graphics (I)

ContinuousSurface Reps.

e.g. F(p) = 0

ContinuousSurface Reps.

e.g. F(p) = 0

DiscreteSurface Reps.

e.g. mesh

DiscreteSurface Reps.

e.g. meshProjectionProjection

RayCasting

RayCasting

DiscreteField Reps.

e.g. S.O.E.

DiscreteField Reps.

e.g. S.O.E.

ContinuousField Reps.

e.g. F(p)

ContinuousField Reps.

e.g. F(p)

Page 5: Min Chen, Andrew S Winter, David Rodgman and Steve Treavett Department of Computer Science

“Field” in Surface Graphics (II)“Field” in Surface Graphics (II)

Spatial-Occupancy Enumeration Implicit Surfaces Solid Textures Hypertextures Free Form Deformation Gaseous Phenomena (e.g. clouds) Water

Spatial-Occupancy Enumeration Implicit Surfaces Solid Textures Hypertextures Free Form Deformation Gaseous Phenomena (e.g. clouds) Water

Page 6: Min Chen, Andrew S Winter, David Rodgman and Steve Treavett Department of Computer Science

“Fields” in Visualisation (I)“Fields” in Visualisation (I)

DiscreteSurface Reps.

e.g. mesh

DiscreteSurface Reps.

e.g. meshProjectionProjection

RayCasting

RayCasting

DiscreteField Reps.

e.g. volume

DiscreteField Reps.

e.g. volume

ContinuousField Reps.

e.g. F(p)

ContinuousField Reps.

e.g. F(p)

UnderlyingConcept

UnderlyingConcept

Page 7: Min Chen, Andrew S Winter, David Rodgman and Steve Treavett Department of Computer Science

“Fields” in Visualisation (II)“Fields” in Visualisation (II)

Ray Casting Pipelinefor Volume RenderingRay Casting Pipelinefor Volume Rendering

Page 8: Min Chen, Andrew S Winter, David Rodgman and Steve Treavett Department of Computer Science

“Fields” in Volume Graphics (I)“Fields” in Volume Graphics (I)

ProjectionProjection

RayCasting

RayCasting

DiscreteField Reps.

e.g. volume

DiscreteField Reps.

e.g. volume

ContinuousField Reps.

e.g. F(p)

ContinuousField Reps.

e.g. F(p)

Page 9: Min Chen, Andrew S Winter, David Rodgman and Steve Treavett Department of Computer Science

“Fields” in Volume Graphics (II)“Fields” in Volume Graphics (II)

Discrete FieldSpecification: MRI and CT Datasets, Image, Video

Continuous FieldSpecification: Cylinders, cuboids (for difference operations)

Discrete FieldSpecification: MRI and CT Datasets, Image, Video

Continuous FieldSpecification: Cylinders, cuboids (for difference operations)

Page 10: Min Chen, Andrew S Winter, David Rodgman and Steve Treavett Department of Computer Science

MotivationMotivation

To match surface graphics in most aspects

To supersede surface graphics in some aspects

To feed the techniques back into visualisation

To match surface graphics in most aspects

To supersede surface graphics in some aspects

To feed the techniques back into visualisation

Page 11: Min Chen, Andrew S Winter, David Rodgman and Steve Treavett Department of Computer Science

2. MODELLING WITH FIELDS2. MODELLING WITH FIELDS

Scope of Volume Modelling Constructive Volume Geometry Solid, Hyper- and

NPR Textures

Scope of Volume Modelling Constructive Volume Geometry Solid, Hyper- and

NPR Textures

Page 12: Min Chen, Andrew S Winter, David Rodgman and Steve Treavett Department of Computer Science

Scope of Volume Modelling (I)Scope of Volume Modelling (I)

the process of modelling volume data;

a generalisation in dimension to surface modelling;

the means to provide the input to the volume rendering integral.

the process of modelling volume data;

a generalisation in dimension to surface modelling;

the means to provide the input to the volume rendering integral.

Gregory M. Nielson (1999)

Arizona State University

Page 13: Min Chen, Andrew S Winter, David Rodgman and Steve Treavett Department of Computer Science

Scope of Volume Modelling (II)Scope of Volume Modelling (II)

Volume Data Types Scenes, Objects, Attributes Constructive Specification Heterogeneous Object Interior Amorphous Phenomena Software Tools

Volume Data Types Scenes, Objects, Attributes Constructive Specification Heterogeneous Object Interior Amorphous Phenomena Software Tools

Process

Generalisation

Input

Page 14: Min Chen, Andrew S Winter, David Rodgman and Steve Treavett Department of Computer Science

Volume Data Types (I)Volume Data Types (I)

Spatial, Continuous Specification Explicit Field Function: F(x, y, z)

(Mathematical and Procedural) Parametric Field Function:

F(t1,t2,...) Spatial, Discrete Specification

Discrete Point Set Regular Dataset (e.g. CT dataset) Irregular Dataset (e.g. tetrahedral

mesh, free-hand ultrasound) Image and Video

Spatial, Continuous Specification Explicit Field Function: F(x, y, z)

(Mathematical and Procedural) Parametric Field Function:

F(t1,t2,...) Spatial, Discrete Specification

Discrete Point Set Regular Dataset (e.g. CT dataset) Irregular Dataset (e.g. tetrahedral

mesh, free-hand ultrasound) Image and Video

Page 15: Min Chen, Andrew S Winter, David Rodgman and Steve Treavett Department of Computer Science

Volume Data Types (II)Volume Data Types (II)

Non-spatial Fourier Domain Wavelet Domain Compressed Image and Video Light Field

Non-spatial Fourier Domain Wavelet Domain Compressed Image and Video Light Field

Page 16: Min Chen, Andrew S Winter, David Rodgman and Steve Treavett Department of Computer Science

Volume Data Types (III)Volume Data Types (III)

High-LevelModels

High-LevelModels

Non-SpatialModels

Non-SpatialModels

DiscreteSpatial Models

DiscreteSpatial Models

ContinuousSpatial ModelsContinuous

Spatial Models

Page 17: Min Chen, Andrew S Winter, David Rodgman and Steve Treavett Department of Computer Science

Constructive Volume GeometryConstructive Volume Geometry

scene

object object object......

field O R G B Ge Ka Kd Ks N Dn Rfl Rfr

• Constant• Volume Dataset• Colour-separated image

• Built-in mathematical scalar field• Procedural scalar field• plus various mappings

Txt ...

Page 18: Min Chen, Andrew S Winter, David Rodgman and Steve Treavett Department of Computer Science

CVG: Scalar Field (I)CVG: Scalar Field (I)

A spatial object is a tuple

o = (O, A1, A2, …, Ak)

of scalar fields defined in E3, including an opacity field O: E3 [0,1] specifying the visibility of every point in E3 and possibly other attribute fields, A1, A2, …, Ak: E3 [0,1], k>0.

A spatial object is a tuple

o = (O, A1, A2, …, Ak)

of scalar fields defined in E3, including an opacity field O: E3 [0,1] specifying the visibility of every point in E3 and possibly other attribute fields, A1, A2, …, Ak: E3 [0,1], k>0.

O: hyperbolic paraboloidR: cylindrical field G: cylindrical field B: cylindrical field

Page 19: Min Chen, Andrew S Winter, David Rodgman and Steve Treavett Department of Computer Science

CVG: Scalar Fields (II)CVG: Scalar Fields (II)

O: sphereR: noiseG: constantB: constant

O: torusR: datasetG: constantB: dataset

O: hyperbolic paraboloid R, G, B: constantGeo: hyperbolic paraboloid + noise

Page 20: Min Chen, Andrew S Winter, David Rodgman and Steve Treavett Department of Computer Science

Scalar Fields (III)Scalar Fields (III)

O: implicit function R, G, B: linear functionsGeo: implicit function

O: implicit function R, G, B: linear functionsGeo: hyperbolic paraboloid

Page 21: Min Chen, Andrew S Winter, David Rodgman and Steve Treavett Department of Computer Science

CVG: Data RepresentationCVG: Data Representation

(o1, o2)(o1, o2)

o1o1 o2o2

composite volume objectcomposite volume object

convex volume object

convex volume object

convex volume object

convex volume object

1

Page 22: Min Chen, Andrew S Winter, David Rodgman and Steve Treavett Department of Computer Science

CVG: 4 Colour Channel ModelCVG: 4 Colour Channel Model

operations on scalarsoperations on scalars

operations on scalar

fields

operations on scalar

fields

operations on spatial

objects

operations on spatial

objects

(o1, o2) = ((o1, o2) = ( MAX(O1, O2),SELECT(O1, R1, O2, R2),SELECT O1, G1, O2, G2),SELECT(O1, B1, O2, B2) )

MAX(O1, O2),SELECT(O1, R1, O2, R2),SELECT O1, G1, O2, G2),SELECT(O1, B1, O2, B2) )

max(s1, s2) = max(s1, s2) = s1 s1 s2

s2 s1 < s2

s1 s1 s2

s2 s1 < s2{{

select(s1, t1, s2, t2) = select(s1, t1, s2, t2) = t1 s1 s2

t2 s1 < s2

t1 s1 s2

t2 s1 < s2{{

............

Page 23: Min Chen, Andrew S Winter, David Rodgman and Steve Treavett Department of Computer Science

CVG: Operation (I)CVG: Operation (I)

o1=(O1, R1, G1, B1)o1=(O1, R1, G1, B1)

o2=(O2, R2, G2, B2)o2=(O2, R2, G2, B2)

(o1, o2)(o1, o2)

Page 24: Min Chen, Andrew S Winter, David Rodgman and Steve Treavett Department of Computer Science

CVG: Operation (II)CVG: Operation (II)

(o1, o2)(o1, o2)

(o1, o2)(o1, o2)

(o1, o2)(o1, o2)

(o2, o1)(o2, o1)

Page 25: Min Chen, Andrew S Winter, David Rodgman and Steve Treavett Department of Computer Science

CVG: Interior & Real DomainCVG: Interior & Real Domain

Page 26: Min Chen, Andrew S Winter, David Rodgman and Steve Treavett Department of Computer Science

CVG: Solid and Fuzzy Objects CVG: Solid and Fuzzy Objects

Page 27: Min Chen, Andrew S Winter, David Rodgman and Steve Treavett Department of Computer Science

CVG: Image and Texture (I)CVG: Image and Texture (I)

Page 28: Min Chen, Andrew S Winter, David Rodgman and Steve Treavett Department of Computer Science

CVG: Image and Texture (II)CVG: Image and Texture (II)

Page 29: Min Chen, Andrew S Winter, David Rodgman and Steve Treavett Department of Computer Science

CVG: Non-Photorealistic RenderingCVG: Non-Photorealistic Rendering

Page 30: Min Chen, Andrew S Winter, David Rodgman and Steve Treavett Department of Computer Science

Solid, Hyper- and NPR TexturesSolid, Hyper- and NPR Textures

Solid Texture: Defining R(p), G(p), B(p) with Fields Defining Geo(p) with Fields

Hypertexture: Defining Distance Fields Dist(p) Defining R(Dist(p)), G(...), B(...)

Non-Photorealistic Texture: Defining O(p), R(p), G(p), B(p)

Defining a NPR mapping

Solid Texture: Defining R(p), G(p), B(p) with Fields Defining Geo(p) with Fields

Hypertexture: Defining Distance Fields Dist(p) Defining R(Dist(p)), G(...), B(...)

Non-Photorealistic Texture: Defining O(p), R(p), G(p), B(p)

Defining a NPR mapping

Page 31: Min Chen, Andrew S Winter, David Rodgman and Steve Treavett Department of Computer Science

Solid Texture and HypertextureSolid Texture and Hypertexture

Page 32: Min Chen, Andrew S Winter, David Rodgman and Steve Treavett Department of Computer Science

NPR Texture (I)NPR Texture (I)

Page 33: Min Chen, Andrew S Winter, David Rodgman and Steve Treavett Department of Computer Science

NPR Texture (II)NPR Texture (II)

Page 34: Min Chen, Andrew S Winter, David Rodgman and Steve Treavett Department of Computer Science

NPR Texture (III)NPR Texture (III)

Page 35: Min Chen, Andrew S Winter, David Rodgman and Steve Treavett Department of Computer Science

NPR Texture (IV)NPR Texture (IV)

Page 36: Min Chen, Andrew S Winter, David Rodgman and Steve Treavett Department of Computer Science

NPR Texture (V)NPR Texture (V)

Page 37: Min Chen, Andrew S Winter, David Rodgman and Steve Treavett Department of Computer Science

NPR Texture (VI)NPR Texture (VI)

Page 38: Min Chen, Andrew S Winter, David Rodgman and Steve Treavett Department of Computer Science

2+D NPR Rendering (I)2+D NPR Rendering (I)

Page 39: Min Chen, Andrew S Winter, David Rodgman and Steve Treavett Department of Computer Science

2+D NPR Rendering (II)2+D NPR Rendering (II)

Page 40: Min Chen, Andrew S Winter, David Rodgman and Steve Treavett Department of Computer Science

2+D NPR Rendering (III)2+D NPR Rendering (III)

Page 41: Min Chen, Andrew S Winter, David Rodgman and Steve Treavett Department of Computer Science

3. RENDERING FIELDS3. RENDERING FIELDS

Direct Rendering of Fields Discrete Sampling Rendering Effects

Direct Rendering of Fields Discrete Sampling Rendering Effects

Page 42: Min Chen, Andrew S Winter, David Rodgman and Steve Treavett Department of Computer Science

Rendering ComplexityRendering ComplexityComplexity Level

of Direct Rendering

Single Regular VolumeSingle Regular Volume

Tetrahedral MeshTetrahedral Mesh

Predefined Scalar Fields

Predefined Scalar Fields

Arbitrary Explicit FieldsArbitrary Explicit Fields

Parametric FieldsParametric Fields

Constructive RepsConstructive Reps

Non-spatial DomainNon-spatial Domain

Page 43: Min Chen, Andrew S Winter, David Rodgman and Steve Treavett Department of Computer Science

Ray MarchingRay Marching

Page 44: Min Chen, Andrew S Winter, David Rodgman and Steve Treavett Department of Computer Science

Issues in Discrete SamplingIssues in Discrete Sampling

Relationships among density, opacity and sampling distance;

Rendering amorphous phenomena with reflection, refraction and shadows;

Mathematical fields suit software better than hardware.

Relationships among density, opacity and sampling distance;

Rendering amorphous phenomena with reflection, refraction and shadows;

Mathematical fields suit software better than hardware.

Page 45: Min Chen, Andrew S Winter, David Rodgman and Steve Treavett Department of Computer Science

Direct Surface RenderingDirect Surface Rendering

Page 46: Min Chen, Andrew S Winter, David Rodgman and Steve Treavett Department of Computer Science

Multiple IsosurfacesMultiple Isosurfaces

Page 47: Min Chen, Andrew S Winter, David Rodgman and Steve Treavett Department of Computer Science

Direct Volume RenderingDirect Volume Rendering

Page 48: Min Chen, Andrew S Winter, David Rodgman and Steve Treavett Department of Computer Science

Volume vs. SurfaceVolume vs. Surface

Page 49: Min Chen, Andrew S Winter, David Rodgman and Steve Treavett Department of Computer Science

Consistent Sampling (I)Consistent Sampling (I)

accumulated colour

density

sampled colours

sampled opacities

sampling distance

dueuuC

duuuuCtC

tu

tu

dvv

tu

tusum

uv

tv

1

1

1)()(

Volume Rendering Integral

Page 50: Min Chen, Andrew S Winter, David Rodgman and Steve Treavett Department of Computer Science

Consistent Sampling (II)Consistent Sampling (II)

oo 0.10.1

Page 51: Min Chen, Andrew S Winter, David Rodgman and Steve Treavett Department of Computer Science

Consistent Sampling (III)Consistent Sampling (III)

0.5:0.5 0.1:0.5

0.005:0.50.01:0.50.05:0.5

1.0:0.5

2

Page 52: Min Chen, Andrew S Winter, David Rodgman and Steve Treavett Department of Computer Science

ShadowShadow

Page 53: Min Chen, Andrew S Winter, David Rodgman and Steve Treavett Department of Computer Science

ReflectionReflection

Page 54: Min Chen, Andrew S Winter, David Rodgman and Steve Treavett Department of Computer Science

Refraction (I)Refraction (I)

Surface Ray Tracer (POV-Ray)

Volume Ray Tracer(vlib)

Page 55: Min Chen, Andrew S Winter, David Rodgman and Steve Treavett Department of Computer Science

Refraction (II)Refraction (II)

With normals estimated from raw

data

With spherical normals

Page 56: Min Chen, Andrew S Winter, David Rodgman and Steve Treavett Department of Computer Science

4. SUMMARY4. SUMMARY

Page 57: Min Chen, Andrew S Winter, David Rodgman and Steve Treavett Department of Computer Science

Volume Data TypesVolume Data Types

High-LevelModels

High-LevelModels

Non-SpatialModels

Non-SpatialModels

DiscreteSpatial Models

DiscreteSpatial Models

ContinuousSpatial ModelsContinuous

Spatial Models

Scalar Fields

Page 58: Min Chen, Andrew S Winter, David Rodgman and Steve Treavett Department of Computer Science

Vlib: Volume Graphics APIVlib: Volume Graphics API

http://www.vg.swan.ac.uk/vlib/

Page 59: Min Chen, Andrew S Winter, David Rodgman and Steve Treavett Department of Computer Science

THANKS/DANKTHANKS/DANK


Recommended