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
Steps:
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]]
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 mainly focus on client side.
Proposed Milestones
$150 USD - Finish this project
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 work. We can discuss further details in the message
Regards
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 and Experience
Signal and image processing
Proposed Milestones
$30 USD - Complete implementation of all functions in the attached file
Note that the filtering is done in frequency domain as a multiplication according to the Convolution theorem
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, MATLAB
Proposed Milestones
$111 USD - TASK
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 and pattern recognition to identify cracks on bridge structures.