Lab 4: Image Manipulation

This lab teaches about pixels—what they are, how they make up an image on the screen, and how manipulating their red, green, and blue values can change an image. Students begin by watching a video demonstrating that a screen is indeed made up of tiny squares of red, green, and blue. They then view an image made up of large pixels at low resolution and increase the resolution (while shrinking the pixels) to see the pixels disappear as the image becomes more visible. Students then learn about lists and tables as they explore the RGB values of pixels in an image, explore the higher-order function map as they select a single color value from each pixel in an image, and explore several filters that apply a transformation to each pixel of an image.

Pacing

This lab is designed for 2–4 class periods (65–160 minutes).

↑ Back to Top

Activity 1: Picture of a Pixel. 

↑ Back to Top

Activity 2: Exploring RGB Colors. 

↑ Back to Top

Activity 3: Investigating and Storing Images. 

↑ Back to Top

Activity 4: Pixel Mapper. 

Correlation with CSTA Standards