concept of computer graphics

56
Topic 5 Concept of Computer Graphics • Introduction • Output Primitives and Attributes • Two dimensional Viewing • Graphical User Interfaces • Three Dimensional Concepts • Three Dimensional Display in Nuclear Medicine

Upload: brucelee55

Post on 06-May-2015

8.217 views

Category:

Technology


3 download

TRANSCRIPT

Page 1: Concept of Computer Graphics

Topic 5 Concept of Computer Graphics

• Introduction

• Output Primitives and Attributes

• Two dimensional Viewing

• Graphical User Interfaces

• Three Dimensional Concepts

• Three Dimensional Display in Nuclear Medicine

Page 2: Concept of Computer Graphics

Computer Graphics

• Everything on computers that is not text or sound.

• Computer graphics as drawing pictures on computers.

• Nuclear Medicine uses computer graphics to display images

Page 3: Concept of Computer Graphics

Graphic Software

• General Programming Package (Graphic Library in C etc)

• Application Package (For None-programmer)

• Modelling Transformation=>World Coordinates=>Normalised Coordinates

Page 4: Concept of Computer Graphics

User Graphic Interface

• Consist of windows, pull-down and pop-up menus, icons, pointing device.

• Popular graphic user interface: X windows, MS windows, Macintosh, OpenLook and Motif

• Graphic package: Specialised interactive dialogue• General Graphic Package: interface to standard

window system: PHIGS for X windows.

Page 5: Concept of Computer Graphics

User Graphic Interface

Page 6: Concept of Computer Graphics

Output Attributes

Page 7: Concept of Computer Graphics

Transformation Pipeline

Page 8: Concept of Computer Graphics

Display Processor in Graphic System

Page 9: Concept of Computer Graphics

From Object Model to Display Device

Page 10: Concept of Computer Graphics

Object Rendering

Page 11: Concept of Computer Graphics

Basic Building Blocks For Pictures

• Output Primitives– Characters, – Geometric Entities.– Lines, – Filled Areas, – Colours– Polygons

Page 12: Concept of Computer Graphics

Output Primitives -Lines and Points

Page 13: Concept of Computer Graphics

Output Primitives - Circles

Page 14: Concept of Computer Graphics

Output Primitives - Polygon

Page 15: Concept of Computer Graphics

Properties of the Output Primitives

• How it is displayed:– Intensity– Colour– Style– Pattern

Page 16: Concept of Computer Graphics

Geometric Transformation

• Change size, position or orientation:– translation– rotation– scaling

• Altering or Manipulating Display

Page 17: Concept of Computer Graphics

Transformations

Page 18: Concept of Computer Graphics

Transformations

Page 19: Concept of Computer Graphics

Two Dimensional Viewing

• Specify which part of the picture– which part of the picture– where to put the picture

• Algorithms– Point Clipping– Line Clipping– Polygon Clipping– Text Clipping

Page 20: Concept of Computer Graphics

Two Dimensional Viewing

Page 21: Concept of Computer Graphics

3D Object Representation

• Object Boundaries: – Plane, – Curved Surfaces

• Object Interiors:

• Solid Objects:– Boundary Representation– Space-partition Representation

Page 22: Concept of Computer Graphics

3D Object Representation

Page 23: Concept of Computer Graphics

3D Transformation

• Transformation– translation, rotation, scaling

• Rotation in 3D– a composite of 3 rotations

• X-axis rotation

Page 24: Concept of Computer Graphics

3D Transformation

Page 25: Concept of Computer Graphics

3D Display

• View an object from any spatial position: front, top etc.

• Projection onto a flat viewing surface.

Page 26: Concept of Computer Graphics

3D Display

Page 27: Concept of Computer Graphics

Projection

• Specify a view plane

• Projections– Parallel– Perspective

• Projection transformation

• Clipping

Page 28: Concept of Computer Graphics

Parallel Projection

Page 29: Concept of Computer Graphics

Perspective Projection

Page 30: Concept of Computer Graphics

Different Viewing Directions

Page 31: Concept of Computer Graphics

Changing of Reference Point

Page 32: Concept of Computer Graphics

3D Surface

• 3D Surface Detection:– Identify the visible surface– example: ray-casting method

• Depth Cueing– the intensity of lines decreases from the front to

the back of the object.

Page 33: Concept of Computer Graphics

3D Surface Detection

Page 34: Concept of Computer Graphics

Depth Cueing

Page 35: Concept of Computer Graphics

Types of Depth Cues

• Stereoscopic display (different image for different eye)

• Hidden lines/surface removal

• Depth weighting (less intensity for distant object)

• Illumination (surface lighting)

• Rotation (cine loops)

Page 36: Concept of Computer Graphics

Surface Illumination

• Surface illumination: – the intensity of light that we should see.

• Surface rendering algorithm– calculation of the light based on physical laws.– Radiosity algorithm: based on the propagation

of radiant energy between the surface and the source.

Page 37: Concept of Computer Graphics

Surface Illumination

Page 38: Concept of Computer Graphics

Shading Techniques

Page 39: Concept of Computer Graphics

Reflection and Transparency

Page 40: Concept of Computer Graphics

Radiosity

Page 41: Concept of Computer Graphics

Lighting Conditions

Page 42: Concept of Computer Graphics

Colours in Computer Graphics

Page 43: Concept of Computer Graphics

Colour Models

• Colour Model:– The method for explaining the properties or

behaviour of colour within some particular context.

• RGB Model: – based on tristimulus theory

Page 44: Concept of Computer Graphics

Colour Models

Page 45: Concept of Computer Graphics

Grey Scale

Page 46: Concept of Computer Graphics

Logarithmic & Exponential

Page 47: Concept of Computer Graphics

Colour Translation

Page 48: Concept of Computer Graphics

Pseudo Colour Display

Page 49: Concept of Computer Graphics

True Colour Display

Page 50: Concept of Computer Graphics

3D Display in Nuclear Medicine

• Slice-and-Dice Display– orthogonal slices, oblique slices

• Ray Tracing – Volume Rendering- summed projection, maximum activity projection,

volumeric compositing.

• Surface Rendering– polygon tiling, binary voxel rendering.

• Mapping– Bull’s eye, cylindrical display

Page 51: Concept of Computer Graphics

Slice-and-Dice

Page 52: Concept of Computer Graphics

Ray Tracing

Page 53: Concept of Computer Graphics

Surface Rendering

Page 54: Concept of Computer Graphics

Volume Rendering

Page 55: Concept of Computer Graphics

Bull’s Eye Mapping

Page 56: Concept of Computer Graphics

Clinical Applications in Nuclear Medicine

• Hot Spot Imaging– Volume rendering with maximum activity projection

• Cardiac Imaging– Perfusion imaging(Bull’s eye), surface rendering with colour.

– Functional imaging (oxygen consumption), colouring blood-pool surface.

– Gated Blood Pool Studies: cine display, surface rendering, maximum activity projection.

• Brains.