Overview of Computer Graphics�&& Some Image Display
Instructor: 李同益
Readings
Overviews
PIXAR INTRO edit Animation
A Standard Graphics Pipeline
OpenGL traditional transformation �pipeline
v
e
r
t
e
x
Modelview
Matrix
Projection
Matrix
Perspective
Division
Viewport
Transform
Modelview
Modelview
Projection
●
●
●
object
eye
clip
normalized
device
window
glTranslate{fd}( x, y, z )
glRotate{fd}( angle, x, y, z )
glScale{fd}( x, y, z )
Polygon Rendering & Photorealistic Rendering
For example: OpenGL rendering v.s. Raytracing
Ray tracing
Scanning the David
height of gantry: 7.5 meters
weight of gantry: 800 kilograms
Point Rendering
Michelangelo’s Pieta
handmade replica
Holes:
Regular
or
Irregular
Molder Package
Sketch or Wireframe
Printing Arbitrary Meshes with a 5DOF Wireframe PrinterACM Transactions on Graphics (Proc. SIGGRAPH 2016)
Depth Cueing
Clipping (Far-plane)
Coloring
Hidden Surface Removal
Sketch�Applications
Constant Rendering
Facet Shading
Smooth Shading
Correct Highlight
Edge Silhouettes
Texture & Shadow
Procedural�and Displacement Texture
Ray tracing
Reflection
Global Illumination
Lighting
Photo image of
the real scene
Non-photorealistic
Rendering
Applying different painterly styles.
Hatching(影線) and cross hatch (交叉影線)
Deep learning for NPR
content image in different layers of CNN.
The idea of neural style transferring and content image in different layers of CNN.
Computer Graphics is about Movies!
Computer Graphics is about Movies!
Cartoon Movie
Inspirational Video
Keep in mind: this film is entirely Computer-generated.
Games are OK here
How Machine Learning Helps Game Developers Express Creativity
Medical �Imaging
Computer Aided Design
Scientific Visualization
Graphical User Interfaces (GUIs)
WYSIWYG NPR:�Drawing Strokes Directly on 3D Models�
http://www.cs.princeton.edu/gfx/proj/wnpr/
Image Display
Tong-Yee Lee
Display Technologies
Cathode Ray Tubes (CRTs)
Most common display device today
Evacuated glass bottle
(last remaining vacuum tube)
Heating element (filament)
Electrons attracted to focusing anode cylinder
Vertical and Horizontal deflection plates
Beam strikes phosphor coating on front of tube
陰極射線管(Cathode ray tube)
LED螢幕的全稱是LED背光源液晶螢幕
Color Video
Raster Displays
TV boomed in the 50s and early 60s
(they got cheap)
B/W TVs are basically oscilloscopes
(with a hardwired scan pattern)
Screen is traversed 60 times/sec
Even/Odd lines on alternate scans
Head-Mounted Displays
Caves and Fish Bowls
Looking at NASA Space Station on display wall
http://www.cs.princeton.edu/~benshedd/
CSDisplayWall8&24/index.html
Review of Raster Displays
Alpha
over
=
Applications for 3D Art Composer
Demo:
SIG05
By Chuang
The Simplest File
Color Quantization
24 bit color
Quantization Error
Uniform Quantization
Uniform Quantization
Unexpected contours
Populosity Algorithm
Populosity Algorithm
Median Cut
Median Cut in Action
Original colors in color space
Median in long dimension
Recurse
Median Cut
Dithering to Black-and-White
Sample Images
Threshold Dithering
Naïve Threshold Algorithm
Random Modulation
Random Modulation
Classical Halftoning
Halftone Patterns
Trade spatial resolution with intensity resolution
Average by human eyes
original
2x2
3x3
Filtering Image
Using Filter Templates
Blurring Filter Examples
Median Filter
Gaussian Filter
Gaussian Filter
Edge detection
Other Filters
with threshold
Canny filter
A lots of stuff ……
Image Resizing Using Seam Carving�