Use Python and the Python Imaging Library to read in an image file, and compute and display the "red", "blue", and "green" channel images.
You should also compute the grayscale image, using the formula Y = 0.299R + 0.587G + 0.114B (see this page for more information).
Write a program that performs a Caesar Cipher, translating a string of text into an encrypted form. A Caesar Cipher works by taking each character and shifting it by a number n. For example, if n=2, the string "abc" would become "cde" because 'c' is 2 after 'a', 'd' is 2 after 'b', and so on.
You can assume the input string only has spaces and lowercase letters, and the alphabet wraps around to 'a' after 'z'. See this page for more information.
This choice is a little more challenging, as we haven't discussed dictionaries in Python, and they lend themselves well to this application. You can find some nice tutorials online on how dicutionaries are used. Please ask questions if you have any! You can instead use Java for this if you are more familiar/comfortable with that.
In addition to your program (and/or any images you used) submit a README file (just a simple text document). Describe how to run your code and what results you are expecting. Include any troubles or issues you faced (if any) and how you went about resolving them. Name the file 'README' with a .txt extension.
To submit, email your homework and any additional files to rbkim@cs.unc.edu and CC the instructor at lin@cs.unc.edu.