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

  Control design using matlab

Control Design using Matlab,  Please try and explain the characteristic of all the plots and graphs.   Import all the required data in word of simply write in the script itself.

  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 ..

  Dimensional plot of the free surface charge

Include a qualitative dispersion curve sketch thatdemonstrates the operating point at which your Matlab plot applies.

  Compare two strings to determine if they are the same

Write a statement (or statements) that will compare two strings to determine if they are the same, ignoring whether the characters are upper or lower case.

  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)).

  Fourier transform and biosignal analysis

Fourier Transform and Biosignal Analysis - series data into its frequency components for the purpose of signal analysis and processing.

  Describe how you would access these 4 members

Create a namespace titled global Type that contains four members. The members should be two named constants, n and rate. It should also contain a variable count and the function printResult. Describe how you would access these 4 members in a progr..

  Program that prompts the user to enter grades in a loop

Write a main program that prompts the user to enter grades in a loop, ending on a negative number, stores the grades in a vector, and asks the user for a passing grade. Ten pass the grade vector and passing cutoff to the function and print the per..

  Compute and flote 4 average temperature profiles

Generate by measdata.m an array A withsize (365,24), containing temperature measurements for an entire year [1 January,..., 31 December], 24 hours a day [00.00h,...,23.00h].

  Consider the predator-prey models

Consider the predator-prey models developed early part of the 20 th  century in which the number of predators and preys may be predicted using the pair of ODEs

  Value for the side of the octagonal prism

Value for the side of the octagonal prism, and a scalar value for the height of the octagonal prism. Generate the x,y,z arrays that define the 9 faces of the pyramid (octagonal base and 8 triangles. Use fill3 command to create the faces (faces wit..

  Write a matlab function that takes a matrix

Write a MATLAB function that takes a matrix, a row number and a column number. Beginning with the row number passed to the function, scan down the column passed to the function and return the row number that contains the largest absolute value in ..

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