Sampling




CS116b/CS216

Chris Pollett

Mar 3, 2014

Outline

Introduction

Aliasing

Two Image Models

OpenGL and image models

Quiz

Which of the following statements is true?

  1. The IMG_load function can be used to load an image in png format and get an SDL_Surface pointer back.
  2. Bessel-Overhauser splines must have knots at integer values.
  3. The recursive subdivision technique cannot be made to work for Bezier Patches.

Point Sampling

Example of aliasing effects

Solving Aliasing Problems

Choices of Filter

Averaging a pixel's value

Oversampling

Averaging a pixel's value randomly

OpenGL and Sampling