UNIVERSITY AT BUFFALO, THE STATE UNIVERSITY OF NEW YORK
The Department of Computer Science & Engineering
cse@buffalo
UB CSE 111

 

Homework 8

9 points
Due Wednesday August 3, 2011
  1. Do problem 3.3 (on page 109) from this document. [3pts]
  2. Write a function which swaps the blue and red component of an image. [3pts]
  3. Write a function which makes an image black and white (not greyscale)... That is, the pixels should either have the RGB value of (0, 0, 0) or (255, 255, 255). [3pts]