Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

We are to use Python 3.6 to complete the following task and use Pillow to import Image and to also help complete the task. We

We are to use Python 3.6 to complete the following task and use Pillow to import Image and to also help complete the task. We do not have any other modules other than Pillow downloaded, so we are to use that and the built in functions. Thank You!

image text in transcribed

image text in transcribed

This is the link to download the pictures, I have put them inside a zip folder so that they can be downloaded easily. However, I believe that we are supposed to open (extract) all 9 of them up outside of the zip folder separately and combine to create the final result. The finals result is also the same size as all the other 9 images, but is just enlarged to show the result.

Link: https://expirebox.com/download/7675d4d4dd10d716cc2963abd6e4fcd0.html

Please only use Pillow to import Image and no other modules. Also, we can use the built in functions in Python 3.6. I believe we can also import math and use that.

Background Analyzing a series of images of the (exact) same location at different times is known as temporal processing. (This is opposed to spatial processing which analyzes one image and focuses on each pixel's neighbors.) One example of temporal filter is a median filter. Given several images, a temporal me- dian filter takes a list of pixel channel values at each coordinate and calculates the median This removes outliers and can act to subtract unwanted elements from an image. In general, to calculate the median of a list of numbers of odd length, you sort the list, calculate the middle location, and return the value at that middle location. If we have a list of length n, where n is odd, the location of the middle value is at: For example, if we have the numbers 2, 4, 6, 237, 1, we sort the numbers to get 1, 2, 4, 6, 237. The list is of length 5, so the middle value is located in the third position, which is the number 4 (Note: Given that Python lists are indexed at 0, we need to substract one from the calculated middle location in our program.)

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

MongoDB Applied Design Patterns Practical Use Cases With The Leading NoSQL Database

Authors: Rick Copeland

1st Edition

1449340040, 978-1449340049

More Books

Students also viewed these Databases questions