Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

15. Due Date: 3 March Reading: Think CS: Section 8.10 & Datacamp Numpy Tutorial & Lab 3 Write a program that asks the user for

image text in transcribed

15. Due Date: 3 March Reading: Think CS: Section 8.10 & Datacamp Numpy Tutorial & Lab 3 Write a program that asks the user for a name of an image .png file and the name of an output file. Your program should create a new image that has only the green and blue channels of the original image (that is, no red channel). To test your program you can download csBridge.png A sample run of your program should look like: Enter name of the input file: Enter name of the output file: csBridge.png nored.png Sample input and resulting output files: CS @ Hunter College CS @ Hunter College MSS MSS IMPORTANT: before submitting your program for grading, remove the commands that show the image (i.e. the ones that pop up the graphics window with the image). The program is graded on a server on the cloud and does not have a graphics window, so, the plt.show() and plt.imshow() commands will give an error. Instead, the files your program produces are compared pixel-by-pixel to the answer to check for correctness. Hint: See Lab 3

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Practical Database Programming With Visual Basic.NET

Authors: Ying Bai

1st Edition

0521712351, 978-0521712354

More Books

Students also viewed these Databases questions

Question

Are you ready to pursue lifelong learning and constant improvement?

Answered: 1 week ago

Question

=+ a. The capitaloutput ratio is constant.

Answered: 1 week ago