DUE DATE: Sunday Mar. 1, Midnight Use the JES Python programming environment to implement the following image manipulation programs:
- Write a program redEvenRows that draws red lines on every other row in a picture.
- Use Google
Image search to download an image of a beach scene, one that's bright
and sunny. Then write a function that turns it into a sunset scene
(hint: one way to do it is to reduce the blue and green of each pixel).
- Write
a program to turn a picture to black and white (grayscale). Grayscale a picture by modifying it so that
each pixel has red, green, and blue values which are the same. Each pixel will instead be defined by a single number, its intensity. So take the original image and for each pixel, compute its intensity and then set the red, green, and blue of the pixel to that number.
Here's a formula to compute the intensity of a color pixel:
intensity = (red + green + blue)/3 - Find a picture of a baseball stadium and scoreboard. Write a program that replaces the content of the scoreboard with your own message. If you're not into baseball, you can choose something else with a similar technical challenge.
Write a program that mirrors the left-side of an image onto the right side of the image. Prior to the due date, submit the programs and sample input files in a sub-folder PythonMedia1 within /home/submit/cs110/yourname
After the due date, and only after the due date, add the programs onto your portfolio page. Your portfolio page should link to a page called Python Media programs. On that page, attach the program files, cut and paste the source code directly, and cut and paste the resulting images next to the corresponding source code. Explain each program with a paragraph or two.
before and after pics...

|
|