Processing 2D Images

Goals

  1. Working with 2D images.
  2. Implementing simple operations on images, such as color manipulation, filtering.
  3. CS concepts: 2D array addressing, processing

Source

This assignment was adapted from a similar assignment(reference unknown); the main difference is it eases the ability to work with the BRIDGES API which helps with displaying the image using a BRIDGES data structure (ColorGrid).

Description

Students are provided with sample images in a simple text format (eg., PPM) that they read and display using the ColorGrid datatype (an abstraction for images). Students are asked to perform a number of simple processing operations on the provided input images, such as the one given below.

Example Images

Students are provided with a skeleton of an Image class that they will use to implement the required image processing operations listed below.

Tasks

  1. Read Input Image.[Done for you]

  2. Display Image. You will use BRIDGES to display the image by storing it in a ColorGrid object.

  3. Image Processing.

Expected Output:

Additional Help:

for Java

ColorGrid documentation

Color documentation

Bridges class documentation

for C++

ColorGrid documentation

Color documentation

Bridges Class documentation

for Python

ColorGrid documentation

Color documentation

Bridges documentation