Python 3.5 Filtering function.

I need help with two functions.

def post_process_image(self, image):

"""Post process the image to create a full contrast stretch of the image

takes as input:

image: the image obtained from the inverse fourier transform

return an image with full contrast stretch


1. Full contrast stretch (fsimage)

2. take negative (255 - fsimage)


return image

def filtering(self):

"""Performs frequency filtering on an input image

returns a filtered image, magnitude of DFT, magnitude of filtered DFT


You are allowed to used inbuilt functions to compute fft

There are packages available in numpy as well as in opencv


1. Compute the fft of the image

2. shift the fft to center the low frequencies

3. get the mask (write your code in functions provided above) the functions can be called by [login to view URL](shape, cutoff, order)

4. filter the image frequency based on the mask (Convolution theorem)

5. compute the inverse shift

6. compute the inverse fourier transform

7. compute the magnitude

8. You will need to do a full contrast stretch on the magnitude and depending on the algorithm you may also need to

take negative of the image to be able to view it (use post_process_image to write this code)

Note: You do not have to do zero padding as discussed in class, the inbuilt functions takes care of that

filtered image, magnitude of DFT, magnitude of filtered DFT: Make sure all images being returned have grey scale full contrast stretch and dtype=uint8


return [[login to view URL], [login to view URL], [login to view URL]]

Skills: C++ Programming, Machine Learning, Matlab and Mathematica, Python, Software Architecture

See more: python __getattr__, python map example, isinstance python, python3 map example, python filter example, python input function, python range float, repr python, I need help with a python script, python 3.5 freelance, new to python programming want ide for python 3.5, i need help with joomla 3 update, logo design studio pro 3.5 2.0 gratuit, logo design studio 3.5 2 tvorba loga pre vašu firmu, joomla 3.5, python 3, i phone 6, i need help in getting leads to sell my service, i need help in designing a powerpoint presentation for a conference, i need help getting my book edited not much money

About the Employer:
( 9 reviews ) Spring, United States

Project ID: #15548253

7 freelancers are bidding on average $61 for this job


150usd for this project Relevant Skills and Experience I am very proficient in c and c++. I have 16 years c++ developing experience now, and have worked for more than 6 years. My work is online game developing, and ma More

$150 USD in 3 days
(103 Reviews)
$50 USD in 2 days
(176 Reviews)

Expertise in python with a substantial background in image processing and computer vision. I have completed various projects related to this and can provide you your complete task in decided time frame with quality wor More

$30 USD in 3 days
(52 Reviews)

Hi. My proposal is to implement (1) the filters masks in freq domain, (2) the function def filtering(self) following the steps in the attached file, and (3) the post_process_image for contrast stretch Relevant Skills More

$30 USD in 3 days
(17 Reviews)

Hi I am studying Image processing where I have recently applied these concepts using MATLAB and python. I will deliver you work in very little time as I have fresh knowledge. Relevant Skills and Experience Python, MAT More

$111 USD in 2 days
(2 Reviews)

Hi I have a PhD in Computer Vision and have excellent command in Phython, I won't just solve your problem but also do free consultation to your other related issues. Relevant Skills and Experience I employ computer an More

$25 USD in 1 day
(0 Reviews)

A proposal has not yet been provided

$30 USD in 1 day
(0 Reviews)