CMSC 381 -- Lab 2

Lab 2

Getting Started

Log onto a computer science server making sure to change the port number.

Follow these instructions to get your files ready to start lab.
  • Use wget to download the file at
  • Uncompress the pixels.tgz file by using tar -xvzf pixels.tgz

The Problem

We have been exploring image processing and rasterizaton. You are to write a stippling tool using three papers.
  1. calculate voronoi diagrams ( Jump Flooding Algorithm)
  2. implement weighted stippling (Weighted Voronoi Stippling)
  3. implement weighted stippling with adaptive number of dots (Weighted Linde–Buzo–Gray Stippling, free on Longwood network)
  4. write a README


You have been given a directory of source code dealing with images, it is named pixels (same name as last time... oops).

  • READ the source code. (Where are things located? Ask questions when you don't know)
  • You will be working in the Stippling.cpp file
  • You need to implement the functions listed
  • You make work with one other person (tyler you may be in a group of three)
  • Please ask questions!


If you have changed file names or directory names you will need to change to the directory which contains the directory you wish to hand in. We will use the handin cmsc381 assignment directory command. In this case you will type: handin cmsc381 lab2 your_directory_name

You lab is due at 11:59pm Feb. 26th 2019.