CSE 163, Winter 2020: Homework 6: Processing Image Data

Submission

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

You should submit your finished hw6_main.py on Ed 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 hw6.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

You can use the HW6 Playground to develop your assignment initially.

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 have access to some tests when you turn in your assignment, but not all behaviors in the spec will be tested in the public tests. All behavior we test is completely described by the problem specification or shown in an example.
  • The first line of hw6_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.