CSE 163, Spring 2019: Homework 7: Processing Image Data

Submission

This assignment and its reflection are due by Thursday, May 30 at 11:59 pm.

You should submit your finished and hw7_main.py on Gradescope and the reflection on Google Forms.

Overview

In this assignment, you will do a bit of data analysis involving image data to get an idea of what image analysis looks like.

Learning Objectives

After this homework, students will be able to:

  • Read in an image into a program from a file.
  • Work with numpy arrays to perform computations.
  • Read a technical description of an algorithm and implement it in code.

Expectations

Here are some baseline expectations we expect you to meet:

Files

You should download the starter code hw7.zip and open it as the project in Visual Studio Code. The files included are:

  • cse163_utils.py: A file where we will store utility functions to help you write any tests you might want to write.
  • images: A directory storing various images for this assignment. You can see the original images in the box below

Images

puppy.png

Puppy

gray_puppy.png

Gray Puppy

coins.png

Coins

Table of Contents

Evaluation

Your submission will be evaluated on the following dimensions

  • Your solution correctly implements the described behaviors. You will not have access to tests when you turn in your assignment, All behavior we test is completely described by the problem specification or shown in an example.
  • The first line of hw7_main.py is a comment with your name and uwnetid.
  • Your code meets our style requirements:
    • All code files submitted pass flake8
    • Every function written is commented, in your own words, using a doc-string format that describes its behavior, parameters, returns, and highlights any special cases.
    • There is a comment at the top of each code file you write with your name, section, and a brief description of what that program does.
    • Any expectations on this page or the sub-pages for the assignment are met as well as all requirements for each of the problems are met.