Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a Matlab code for the following: 1. Load image Balloon.tif and convert it into a grayscale image, denoted with img1 2. Decompose img1 with

Write a Matlab code for the following:

1. Load image Balloon.tif and convert it into a grayscale image, denoted with img1

2. Decompose img1 with wavelet transform using function wavedec2 (you can decide the number of decomposition level). Display the wavelet coefficients as an image. Note: you will need to rescale the values to be in the range of [0 255]; otherwise, the image appears black.

3. Reconstruct the edge map from the detail subbands using function waverec2. Hint: set the approximation subband to zero. Save the reconstructed edge map into an image.

4. Using morphology operator to remove the minor edge segments and reduce the width of the edges to one pixel size. Save the result image.

5. Compute the energy, entropy, and homogeneity features for both processed edge maps and calculated the differences.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Beyond Big Data Using Social MDM To Drive Deep Customer Insight

Authors: Martin Oberhofer, Eberhard Hechler

1st Edition

0133509796, 9780133509793

More Books

Students also viewed these Databases questions

Question

3. Write a policy statement to address these issues.

Answered: 1 week ago