Use the definition for the laplacian in the discrete case

Assignment Help MATLAB Programming
Reference no: EM13310052

Out on Sept. 30, 2013, Due on Tue. Oct. 15, 2013. 100%+5% bonus

The images can be downloaded as a zip pack.

(1) Laplacian and Unsharp Masking (25%)

Show that subtracting the Laplacian from an image is proportional to unsharp masking. Use the definition for the Laplacian in the discrete case to derive the equivalence relation, constant weighting factors should not affect your conclusion.

(2) Spatial processing for photo enhancement (25%)

(2.1) Implement a function for histogram equalization and use it on "pout.png" below (do not use the histeq() function in MATLAB, develop code by yourself) (2.1.1) [10%] Include your source code and the equalized image. Plot the intensity transformation function u vs. v obtained from the equalization function. Compare the results with histeq() in matlab image processing toolbox. (2.1.2) [5%] Experiment with contrast stretching with matlab or in an image editing software (e.g. GIMP, or one that you prefer) comment on the outcome in comparison with (2.1.1).

(2.2) [10%] Sharpen the input image leaf.jpg below, using a combinations of techniques in (2.1), and other matlab functions such as fspecial, filter2, etc. Compare your result with those from an image processing software, or the image leaf2.jpg.

(2.3) [5% bonus] Take an image (photo you took, medical image, or images from the web), enhance it with spatial processing. Submit the "before" and "after" (as in 2.2), discuss the steps and why it looks better.

(3) High-frequency emphasis and histogram equalization (25%)

G&W 3rd Ed: Problem 4.39 page 310

(4) DFT and DCT on images (25%)

In this homework, we want to analyze the energy distributions of different types of images(for both images: banboon and monkeyking). You can use MATLAB build in functions.

(4.1) [15%] Convert the input M-by-N color image to the grayscale format. Plot the 2-D log magnitude of the 2D DFT and DCT of the grayscale image, with center shifted. Visually compare and comment on the similarity/differences among the images using the two transforms (use both images).

(4.2) [10%] Apply the truncation windows discussed in the class to keep 25% and 6.25% (1/4 and 1/16) of the DFT and DCT coefficients, i.e. two different ratios for each transform. This truncation is done by keeping the coefficients of the lowest frequencies (those within a centered smaller rectangle of (M/2)x(N/2) and (M/4)x(N/4) on the shifted FFT, respectively). Apply the 2D inverse DFT and inverse DCT to reconstruct the image for each of the truncated spectra. Plot the reconstructed images visually examine and comment on the effects of truncation (use both images).


Attachment:- 354509_2_HW2-Images.zip

Reference no: EM13310052

Questions Cloud

What is the potential energy of the stretched spring : A spring with k=620 N/M is stretched with a tension of 40 N. What is the potential energy of the stretched spring
Determine the minimum guy lead length for the pole : The electric pole and the stub pole are at the edges of the roadway right-of-way. The anchor will be outside of the right-of-way and will require the subdivision to purchase land from the neighbouring farmer (who is VERY UNHAPPY about the subdivis..
Check for any grammar errors or any stylistic errors : It was late at night when I sleepily climbed over the pile of shoes at the bottom of my staircase. I climbed the stairs and headed to my bedroom with my dog, a pit-bull terrier, named Casey. After brushing my teeth and getting ready to sleep, I sat o..
What is the average power supplied by gravity : A 5-kg rock is dropped off a 30-m high building. If the rock is dropped from rest, what is the average power supplied by gravity
Use the definition for the laplacian in the discrete case : Show that subtracting the Laplacian from an image is proportional to unsharp masking. Use the definition for the Laplacian in the discrete case to derive the equivalence relation, constant weighting factors should not affect your conclusion.
What is the speed of the skater after the ball is thrown : A 55-kg mass ice skater standing stationary on very slipper ice (negligible friction) throws a 0.45 kg baseball with a speed of 27 m/s in the horizonatal direction
Find direction of the velocity of these skaters : Two Skaters collide and hold on to each other on a frictionless floor. find direction of the velocity of these skaters after the collision
Constant speed and constant kinetic energy : When a driver applies the brakes to keep a car going downhill at a constant speed and constant kinetic energy, the potential energy of the car decreases. Where does this energy go? Where does most of it appear in a hybrid vehicle?
Determine percentage of truck as seen by stationary observer : From a photograph one observs that on a level section of highway 20% of the vehicles are trucks, 80% are cars, and that there are 50 vehicles per mile of highway. The trucks travel at 40 mph, the cars at 50 mph.

Reviews

Write a Review

MATLAB Programming Questions & Answers

  Index of the largest fibonacci number

What is the index of the largest Fibonacci number that can be represented exactly as a MATLAB double-precision quantity without roundoff error

  Write a function that takes a list of integers as argument

Write a function that takes a list of integers as argument and returns a pair consisting of the sum of the even positions and the sum of the odd positions of the list. You should not use any auxiliary functions.

  Write project report and provide cross-synthesis

Write project report and provide Cross-synthesis.

  Compute the power spectral density vector

Compute the power spectral density vector. Plot the spectrogram using the same parameters as in lecture.

  Perform gauss-jordan elimination

Write a matlab function to perform gauss-jordan elimination with pivoting. Modify the pivoting so that it is using the row with the highest absolute value rather than the first non-zero row.

  Plot the lines using the inputted vector of x values and x

Write a function named solveSystem that has three inputs: two vectors consisting of coefficients [a b c] of two line equations of the form ax + by = c and a vector of x values.

  Write a script to solve the following systems of equations

Write a script to solve the following systems of equations using both matrix left division (\) and the inverse matrix method and Show that you have tested your MATLAB code appropriately

  Using matlab and for loops

Using MATLAB and for loops, provide an animation that follows the below steps: Start with a square at the origin with each side being 5 units long. Imagine someone kicked the box and animate it moving on a projectile motion trajectory. Hint: look at ..

  Division by zero is not possible

You must also ensure that division by zero is not possible. If the user tries to divide by zero, the calculation should not be attempted, and an error message should appear in the Result text box.

  Compute the eigenvalues and eigenvectors of the matrix

Compute the eigenvalues and eigenvectors of the matrix

  One-dimensional steady-state heat flow

A one-dimensional steady-state heat flow, the mathematical formulation of problem - find out the temperature differences at each locations and calculate the temperatures at each locations

  Write a matlab function that takes in one argument

Write a MatLab function that takes in one argument, a vector or 2-D matrix and returns a single value, the highest value in the vector or matrix. Use nested for loops to accomplish this task. Assume that all of the values in the vector or matrix are ..

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd