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

  Boundary conditions for the finite element model

The computer program or the finite element model for one value of a and the excel file for finite element results processing;Boundary conditions for the finite element model

  The matlab language has the built-in ability

The MATLAB language has the built-in ability to perform mathematical operations on complex numbers. However there are times when it is useful to treat complex numbers as structures.

  Considered to equal when the result of one array subtract

Two arrays are considered to be equal when the result of one array subtracted from the other is an array of zeros. In the script file, create the MATLAB commands to prove the following relationships (use arrays that you makeup yourself)

  Will compute the value of each piece of clothing.

write a script in MATLAB that will compute the value of each piece of clothing.

  Compare with the true value

compare with the true value of 6.737947 x 10 -3  . Use 20 terms to evaluate each series and compute true and approximate relative errors as terms are added.

  Matlab has a built-in ability to perform mathematical

MATLAB has a built-in ability to perform mathematical operations on complex numbers. However, there are times when it is useful to treat complex numbers as a structure. Write a set of functions with the following capability and a script to verify ..

  Make a program that will graph the parabolas

Make a program that will graph the parabolas each parabola a different color and put all the parabolas in the same figure or graph

  Write a matlab program segment

Plot the given function in MATLAB for x ranging from -1 to 1. Put a proper title of the plot, also label the axes appropriately.

  Does the root directory have any subdirectories

Does the root directory have any subdirectories you cannot search as an ordinary user? Does the root directory have any subdirectories you cannot read as a regular user? Explain.

  Determine the inputs, outputs, relevant formulas

determine the inputs, outputs, relevant formulas

  Write a user defined function

Write a user defined function FindFrequency which inputs are a time and a wave elevation vector and output the approximated wave frequency (fappr=FindFrequency(t,eta)).

  Determine the necessary shell temperature

In a shell-and-tube heat exchanger, one fluid passes through a central tube while another fluid flows through an outer shell in the opposite direction. The purpose is to heat the fluid passing through the central tube.

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