Accreditation Commission for Acupuncture and Oriental Medicine
CG
CS 102

Spring 2012
What is an image?!
Ideally, we think of an image as a 2dimensional light
intensity function, f(x,y), where x and y are spatial
coordinates, and f at (x,y) is related to the brightness or
color of the image at that point.!
In practice, most images are den
Accreditation Commission for Acupuncture and Oriental Medicine
CG
CS 102

Spring 2012
Digital Image Processing
EE368
!
Bernd Girod
!
Information Systems Laboratory
!
Department of Electrical Engineering
!
Stanford University
!
Spring 2010/11
!
Bernd Girod: EE368 Digital Image Processing!
Introduction no. 1
!
Why do we process images?
!
Acq
Accreditation Commission for Acupuncture and Oriental Medicine
CG
CS 102

Spring 2012
Computer Graphics
Inf4/MSc
Computer Graphics
Lecture Notes #16
ImageBased Lighting
Computer Graphics
Inf4/MSc
Global Illumination and
Based Lighting
Image
Traditional Computer Graphics involves:
Modelling with matter: geometry with reflectance
propert
Accreditation Commission for Acupuncture and Oriental Medicine
CG
CS 102

Spring 2012
Bspline/NURBS and Subdivision
Surface
Computer Graphics
Lecture 15
Taku Komura
Today
More about Bspline
NURBS
Subdivision Surface
BSpline : from the last lecture
a Bspline of order k (polynomial of degree k1) is a parametric
curve composed of a linea
Accreditation Commission for Acupuncture and Oriental Medicine
CG
CS 102

Spring 2012
Today
Bspline/NURBS and Subdivision
Surface
More about Bspline
NURBS
Subdivision Surface
Computer Graphics
Lecture 15
Taku Komura
Domain of the function
BSpline : from the last lecture
Order k, Degree k1 (the basis functions are
polynomials of degre
Accreditation Commission for Acupuncture and Oriental Medicine
CG
CS 102

Spring 2012
Computer Graphics
Computer Graphics
Lecture 14
Curves and Surfaces II
Computer Graphics
Spline
A long flexible strips of metal used by
draftspersons to lay out the surfaces of
airplanes, cars and ships
Ducks weights attached to the splines
were used to
Accreditation Commission for Acupuncture and Oriental Medicine
CG
CS 102

Spring 2012
Computer Graphics
Computer Graphics
Spline
A long flexible strips of metal used by
draftspersons to lay out the surfaces of
airplanes, cars and ships
Ducks weights attached to the splines
were used to pull the spline in different
directions
The metal s
Accreditation Commission for Acupuncture and Oriental Medicine
CG
CS 102

Spring 2012
Computer Graphics
Computer Graphics
Lecture 13
Curves and Surfaces I
Computer Graphics
Types of Curves / Surfaces
Explicit:
y = mx + b
z = A x + By + C
Implicit:
Ax + By + C = 0
(x x0)2 + (y y0)2 r2 = 0
Parametric:
x = x0 + (x1 x0)t
x = x0 + rcos
y = y
Accreditation Commission for Acupuncture and Oriental Medicine
CG
CS 102

Spring 2012
Computer Graphics
Computer Graphics
Types of Curves / Surfaces
Explicit:
y = mx + b
Computer Graphics
z = A x + By + C
Implicit:
(x x0)2 + (y y0)2 r2 = 0
Ax + By + C = 0
Lecture 13
Curves and Surfaces I
Parametric:
x = x0 + (x1 x0)t
y = y0 + (y1 y0)t
1
Accreditation Commission for Acupuncture and Oriental Medicine
CG
CS 102

Spring 2012
11/5/2010
Computer Graphics
Global Illumination:
Photon Mapping, Participating Media
last lecture
MonteCarlo Ray Tracing
Path Tracing
Bidirectional Path Tracing
Photon Mapping
Lecture 12
Taku Komura
2
Accelerating the accuracy of
photon mapping
Today
Met
Accreditation Commission for Acupuncture and Oriental Medicine
CG
CS 102

Spring 2012
11/2/2010
Computer Graphics
Global Illumination:
MonteCarlo Ray Tracing and Photon Mapping
Lecture 11
Taku Komura
In the last lecture
We did ray tracing and radiosity
Ray tracing is good to render specular
objects but cannot handle indirect diffuse
refle
Accreditation Commission for Acupuncture and Oriental Medicine
CG
CS 102

Spring 2012
10/29/2010
Rendering techniques
Computer Graphics
Can be classified as
Local Illumination techniques
Global Illumination techniques
Lecture 10
Global Illumination 1:
Ray Tracing and Radiosity
Taku Komura
1
29/10/2010
Global Illumination
Local Illumination
Accreditation Commission for Acupuncture and Oriental Medicine
CG
CS 102

Spring 2012
Computer Graphics
Inf4/MSc
Computer Graphics
Lecture 6
Rasterisation, Antialiasing, Texture
Mapping,
Computer Graphics
Inf4/MSc
Some Tutorial about the Project
I have already covered all the topics needed
to finish the 1st practical
Today, I will briefl
Accreditation Commission for Acupuncture and Oriental Medicine
CG
CS 102

Spring 2012
10/15/2010
Computer Graphics
Inf4/MSc
Computer Graphics
Inf4/MSc
Some Tutorial about the Project
I have alreadystcovered all the topics needed
to finish the 1 practical
Today, I will briefly explain how to start
working on it.
I have already provided y
Accreditation Commission for Acupuncture and Oriental Medicine
CG
CS 102

Spring 2012
Computer Graphics
Inf4/MSc
Computer Graphics
Inf4/MSc
Hidden surface removal
Computer Graphics
Drawing polygonal faces on screen
consumes CPU cycles
Illumination
Lecture 5
Hidden Surface Removal and Rasterization
We cannot see every surface in
scene
Ta
Accreditation Commission for Acupuncture and Oriental Medicine
CG
CS 102

Spring 2012
Computer Graphics
Inf4/MSc
Computer Graphics
Lecture 4
View Projection
Taku Komura
1
Computer Graphics
Inf4/MSc
Measuring the BRDF
Measured using a device called
gonioreflectometer
Casting light from various directions to the object,
and capturing the l
Accreditation Commission for Acupuncture and Oriental Medicine
CG
CS 102

Spring 2012
Computer Graphics
Inf4/MSc
Computer Graphics
Computer Graphics
Measuring the BRDF
Inf4/MSc
Measured using a device called
gonioreflectometer
Casting light from various directions to the object,
and capturing the light reflected back
Lecture 4
View Proje
Accreditation Commission for Acupuncture and Oriental Medicine
CG
CS 102

Spring 2012
Local Illumination and Shading
Computer Graphics Lecture 3
Taku Komura
tkomura@ed.ac.uk
Institute for Perception, Action & Behaviour
Taku Komura
Computer Graphics
Today is about calculating the color
of objects
The incident light
Position of light source
Accreditation Commission for Acupuncture and Oriental Medicine
CG
CS 102

Spring 2012
10/1/2010
Today is about calculating the color
of objects
Local Illumination and Shading
The incident light
Position of light source
Direction
Color
The object
Reflectance
Viewer
Position
Computer Graphics Lecture 3
Taku Komura
tkomura@ed.ac.uk
Insti