{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

sampling - CS148 Introduction to Computer Graphics and...

Info iconThis preview shows pages 1–13. Sign up to view the full content.

View Full Document Right Arrow Icon
Page 1 CS148: Introduction to Computer Graphics and Imaging Sampling and Aliasing CS148 Lecture 15 Pat Hanrahan, Winter 2009 Key Concepts Sampling Aliasing Nyquist frequency Filters and convolution Antialiasing
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Page 2 Sampling CS148 Lecture 15 Pat Hanrahan, Winter 2009 Image Generation = Sampling Rasterization is performed by testing whether a point is inside a triangle More generally, evaluate a function at a point for( int x = 0; x < xmax; x++ ) for( int y = 0; y < ymax; y++ ) I[x][y] = f( float(x), float(y)); Take a continuous function f and convert to set of samples I, a discrete representation of the func.
Background image of page 2