CS1 Example Image

In CS1 students develop a program that can perform a variety of transformations upon digital images. To produce this image, a gray scale representation of the input image was first created using the standard mapping to luminance, and then Sobel x and y filters were applied to each gray scale pixel yielding values sx and sy. Final output (r, g, b) values were obtained by multiplying input (r, g, b) values by sqrt(sx2 + sy2).