Top Banner
Introduction to Visualization and Advanced Computer Graphics Jian Huang, CS 594, Spring, 2002
37

Introduction to Visualization and Advanced Computer Graphics Jian Huang, CS 594, Spring, 2002.

Dec 20, 2015

Download

Documents

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Introduction to Visualization and Advanced Computer Graphics Jian Huang, CS 594, Spring, 2002.

Introduction to Visualization and Advanced Computer Graphics

Jian Huang, CS 594, Spring, 2002

Page 2: Introduction to Visualization and Advanced Computer Graphics Jian Huang, CS 594, Spring, 2002.

Visualization

• “A picture is worth more than a thousand words”. – a Chinese proverb

• “A picture is worth more than a thousand numbers”.

Page 3: Introduction to Visualization and Advanced Computer Graphics Jian Huang, CS 594, Spring, 2002.

It looks like a swirl. There are smaller swirls at the edges. It has different shades of red at the outside, and is mostly green at the inside. The smaller swirls have purple highlights. The green has also different shades. Each small swirl is composed of even smaller ones. The swirls go clockwise. Inside the object, there are also red highlights. Those have different shades of red also. The green shades vary in a fan, while the purple ones are more uni-color. The green shades get darker towards the outside of the fan......

Page 4: Introduction to Visualization and Advanced Computer Graphics Jian Huang, CS 594, Spring, 2002.

(10,20,21), (12,13,14), (13,32,12),...., (1,2,3), (2,4,5),(3,5,6),.....

Terrain geometry:

Terrain Texture:

Time 0:

(23,34,54), (23,34,23), (45,26,78),....

Volumetric cloud cover:0, 0, 12, 14, 15, 15, 17, 12, 23, 45,.....

Wind vectors:(0.2, 0.3, 0.93,5), (0.4,0.5,0.76,12),...,

Volumetric cloud cover:0, 0, 11, 12, 13, 16, 20, 12, 32, 45,.....

Wind vectors:(0.4,0.5,0.76,12),(0.5,0.5,0.7,6),...

Time 1:

Page 5: Introduction to Visualization and Advanced Computer Graphics Jian Huang, CS 594, Spring, 2002.

What Is Visualization?

• “seeing is believing”• we observe and draw conclusions• seeing is also understanding• beware of ‘illusions’ (magicians)

Page 6: Introduction to Visualization and Advanced Computer Graphics Jian Huang, CS 594, Spring, 2002.

What Is Visualization?

• Transformation of data or information into pictures

• engages primary human sensory apparatus - vision

Page 7: Introduction to Visualization and Advanced Computer Graphics Jian Huang, CS 594, Spring, 2002.

What Is Visualization?

• Is a Tool for:– Aid For Learning/Understanding– Compact Representation Of

Information (e.g. Numbers)– “Carrier” of Information

Page 8: Introduction to Visualization and Advanced Computer Graphics Jian Huang, CS 594, Spring, 2002.

Visualization Flavors?

• Scientific Vis. - User Interfaces, data representation/processing Algorithms, Visual Representations

• Data Visualization - Include financial data and statistical methods

• Information Visualization - Abstract Data: WWW documents, file structures, arbitrary relationships

Page 9: Introduction to Visualization and Advanced Computer Graphics Jian Huang, CS 594, Spring, 2002.

History

• 1137 - earliest known map (China)• 1603 - first star charts by Johann

Beyer• 1637 - cartesian coordinate system

(Descartes)

Page 10: Introduction to Visualization and Advanced Computer Graphics Jian Huang, CS 594, Spring, 2002.

History (2) - Statistical

• 1686 - first meteorological chart (Halley)• 1693 - mortality

tables of city of Breslau (Halley) -> first attempt to correlate two variables

Page 11: Introduction to Visualization and Advanced Computer Graphics Jian Huang, CS 594, Spring, 2002.

History (3) - 2D

• Approx. 1750 - contour lines (height)

• 1817 - isotherms (temperature)• 1829 - isochromatic lines (color)• 1864 - isobars (pressure)

Page 12: Introduction to Visualization and Advanced Computer Graphics Jian Huang, CS 594, Spring, 2002.

History (4) - 3D Imaging

• 1895 - X rays by W. Röntgen• 1898 - stereo X rays (mackenzie-

davidson) - locating foreign bodies in humans

• 1938 - x-ray sections or slices (3D!)• 1912 - x-ray crystallography (Laue)

- position of atoms in a crystal

Page 13: Introduction to Visualization and Advanced Computer Graphics Jian Huang, CS 594, Spring, 2002.

History (5) - Computer Graphics

• 1949 - SAGE air defense - tracked position of aircraft by radar, analyzed results and display on CRT

• 1965 - sketchpad (Sutherland) - interactive graphical drawing system

• Used to be BIG and EXPENSIVE

Page 14: Introduction to Visualization and Advanced Computer Graphics Jian Huang, CS 594, Spring, 2002.

History (6) - Scientific Visualiz.

1987 - NSF report [McCormick87]• Personal/exploratory graphics - to enable a

scientist to gain more knowledge (interact with data)

• Peer graphics - enable scientist to show information to their colleagues and to collaborate

• Presentation graphics - communicate information and results (high quality, fully annotated)

• Publication of visualization - enable others to use the data (replicable)

Page 15: Introduction to Visualization and Advanced Computer Graphics Jian Huang, CS 594, Spring, 2002.

History (7) - Augmented Reality.

• 1983 - responsive environments (Myron Krueger)

• 1995(?) - Cave

Page 16: Introduction to Visualization and Advanced Computer Graphics Jian Huang, CS 594, Spring, 2002.

Visualization Domains

Volumetric data sources are usually produced by:

• Scanning devices• Computation (mathematical), or• Simple measuring

Page 17: Introduction to Visualization and Advanced Computer Graphics Jian Huang, CS 594, Spring, 2002.

Applications - Vis. As a Toolkit

Application tools usually coupled with

• Haptic feedback devices• Stereo output (glasses)• Interactivity

demanding of the rendering algorithmdemanding of the rendering algorithm

Page 18: Introduction to Visualization and Advanced Computer Graphics Jian Huang, CS 594, Spring, 2002.

Scanning - Domains

• Medical scanners (MRI, CT, SPECT, PET, ultrasound)

Page 19: Introduction to Visualization and Advanced Computer Graphics Jian Huang, CS 594, Spring, 2002.

Scanning - Applications

• Primary education• Medical education for surgery, anesthesia • Illustration of medical procedures to the

patient

Page 20: Introduction to Visualization and Advanced Computer Graphics Jian Huang, CS 594, Spring, 2002.

Scanning - Applications

• Surgical simulation for treatment planning• Tele-medicine• Inter-operative visualization in brain surgery,

biopsies, etc.• Industrial purposes (quality control, security)• Games with realistic 3D effects?

Page 21: Introduction to Visualization and Advanced Computer Graphics Jian Huang, CS 594, Spring, 2002.

Scanning (2)

• Domain - biological scanners, electronic microscopes, confocal microscopes

• Apps - paleontology, microscopic analysis

Page 22: Introduction to Visualization and Advanced Computer Graphics Jian Huang, CS 594, Spring, 2002.

Scientific Computation - Domain

• Mathematical analysis

• ODE/PDE (ordinary and partial differential equations)

• Finite element analysis (FE),

• Supercomputer simulations,

Page 23: Introduction to Visualization and Advanced Computer Graphics Jian Huang, CS 594, Spring, 2002.

Scientific Computation - Apps

• Computational fluid dynamics (CFD),

• Computational field simulations (CFS),

Page 24: Introduction to Visualization and Advanced Computer Graphics Jian Huang, CS 594, Spring, 2002.

Vector Field Viz Applications

Computational Fluid Dynamics Weather modeling

Page 25: Introduction to Visualization and Advanced Computer Graphics Jian Huang, CS 594, Spring, 2002.

Vector Field Visualization Challenges

General Goal: Display the field’s directional information

Domain Specific: Detect certain features Vortex cores, Swirl

Page 26: Introduction to Visualization and Advanced Computer Graphics Jian Huang, CS 594, Spring, 2002.

Streamlines

A curves that connect all the particle positions

Page 27: Introduction to Visualization and Advanced Computer Graphics Jian Huang, CS 594, Spring, 2002.

Streamlines (cont’d)

- Displaying streamlines is a local technique because you can only visualize the flow directions initiated from one or a few particles

- When the number of streamlines is increased, the scene becomes cluttered

- You need to know where to drop the particle seeds

- Streamline computation is expensive

Page 28: Introduction to Visualization and Advanced Computer Graphics Jian Huang, CS 594, Spring, 2002.

Measuring - Domains

• Orbiting satellites

• Spacecraft

• Seismic devices

• Statistical Data

Page 29: Introduction to Visualization and Advanced Computer Graphics Jian Huang, CS 594, Spring, 2002.

Measuring - Applications

• for military intelligence,

• weather and atmospheric studies

• planetary and interplanetary exploration

• oil, precious metal exploitation, and

• earth quake studies

• Statistical Analysis - Info Vis (Financial Data …)

Page 30: Introduction to Visualization and Advanced Computer Graphics Jian Huang, CS 594, Spring, 2002.

TaxonomyVolumes

CT, MRI, UltrasoundSeismic

Numerical Simulations

Surfaces

Data

Geometricmodel

Voxelization

discretization

Surface extraction

polygonalization

Scanners, sensors,cameras

samplingscanning

Supercomputers

Computation / Sim

ulation

Image(signal)

visu

aliz

atio

nImage

processing

Computer vision /

Pattern Recognition

Computer graphics

DisplayVideo

Recording

Page 31: Introduction to Visualization and Advanced Computer Graphics Jian Huang, CS 594, Spring, 2002.

Viz vs. Graphics vs.. Imaging

• Imaging - Enhance, analyze, manipulate and store 2D/3D images

• Graphics - Make pictures! Digital Image Synthesis: sampling + illumination

• Visualization - Exploration, transformation, viewing data as images

Page 32: Introduction to Visualization and Advanced Computer Graphics Jian Huang, CS 594, Spring, 2002.

Relation To Other Fields

Visualization

Vision

Signal/ImageProcessing

IlluminationEngineering

OpticsComputational

Geometry

AppliedMathematics

Hardware UserInterfaces

PsychologyCognition

Page 33: Introduction to Visualization and Advanced Computer Graphics Jian Huang, CS 594, Spring, 2002.

Our Topics• Data representation on various types of grids• Rendering of scalar and multi-modal data sets• Rendering of vector fields and diffusion data sets• Efficient iso-surfacing algorithms• Distance fields and voxelization• Parallel graphics and visualization • Point-based graphics• Image-based graphics• Information visualization• Basic geometrical modeling concepts

Page 34: Introduction to Visualization and Advanced Computer Graphics Jian Huang, CS 594, Spring, 2002.

What I expect?• Good programming skills in C/C++

• Can perform a decent quality design

• Can think mathematically

• Basic understanding of parallel or distributed computation

• Can work independently and would like to do innovative work (a technical report by end of semester)

• Professional critique and presentation of research work

• A little sleep deprivation

Page 35: Introduction to Visualization and Advanced Computer Graphics Jian Huang, CS 594, Spring, 2002.

Pre-requisite

• Understand: viewing pipeline, transformation and rasterization, visibility algorithms, lighting and shading, texture mapping and anti-aliasing

• Have TA help sessions on these topics.

Page 36: Introduction to Visualization and Advanced Computer Graphics Jian Huang, CS 594, Spring, 2002.

I will not

• Teach C/C++

• Go over every nutty detail of material

• Teach data structure and algorithm analysis

• Teach computer architecture

• Teach parallel programming

Page 37: Introduction to Visualization and Advanced Computer Graphics Jian Huang, CS 594, Spring, 2002.

Publication Opportunities• IEEE Conference on Visualization (03/29/2002)

• IEEE Symposium on Volume Graphics (03/31/2002)

• IEEE Symposium on Information Visualization (03/29/2002)

• Eurographics Workshop on Parallel Graphics and Visualization (around 04/15/2002)

• IEEE Transactions on Visualization and Computer Graphics

• ACM Transactions on Graphics

• Many more coming up in later 2002