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

  Finite difference method

Use the finite difference method to calculate the temperature at the point specified since it is easier.

  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.

  Find the integral of a function at an arbitrary location

Write a Matlab function to perform numerical integration of a set of evenly spaced data points using the trapezoidal rule

  Compute the speed of single-stage planetary gear train

Write a MATLAB function [speed] = planetary (N, emesh, first, last, arm) that computes the speed of a given link in a single-stage planetary gear train.

  Calculate and plot the error in the numerical derivative

Write a program to calculate and plot the error in the numerical estimate of the derivative.

  Create the graph using matlab functions

Create the graph, which contains a piecewise function where a line exists in the first interval, a parabola in the second interval, and the sine function in the third interval.

  Develop a simulation program

Develop a simulation program

  Create a vector in matlab

Create a three dimensional diagram of function.

  Open a named pipe and to read data from the pipe

Open a named pipe and to read data from the pipe in matlab

  Write the commands that will create the matrix

Write the commands that will create the matrix.

  Lagrange interpolating polynomial of degree

Lagrange interpolating polynomial of degree

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