Draw the histogram of the original image, MATLAB Programming

Assignment Help:

Given the following image,

1

2

1

1

2

0

0

1

5

1

0

1

1

6

7

6

1

2

(a)   Draw the histogram of the original image (8 + 2 marks)

(b)   Compute the equalized image with eight possible gray levels. Show each step carefully.

-          Draw the histogram of the equalized image. (8 + 4 + 2)

-          Show the equalized image.  (6 marks)

Question The following figure shows

(a) a 3-bit image of size 5-by-5 image in the square, with x and y coordinates specified,

(b) a Laplacian filter

                                                                                              Laplacian filter

y\x

0

1

2

3

4

0

3

7

6

2

0

1

2

4

6

1

1

2

4

7

2

5

4

3

3

0

6

2

1

4

5

7

5

1

2

Compute the following:

(a) The output of correlation of h=[1 1 0] and the first row. Assume the first row as 1-D image.

(b) The output of convolution of h=[1 1 0] at (0,0). Assume the first row as 1-D image.

(c) The output of a 3 × 3 mean filter at (2,2).

(d) The output of a 3 × 3 median filter at (2,2).

(e) The output of the 3 × 3 Laplacian filter shown above at (2,2).

Question 

a) Read the 'Cameraman.tif'  image file into MATLAB and then display the image in a MATLAB figure window. 

b) Apply a 3-by-3  average filter (A) in spatial domain on the original image and then display the filtered image.

c) Apply a 3-by-3 Laplacian filter (B) in spatial domain on the original image and then display the filtered image.

d) Based on the output images obtained from the above two filters, what you can deduce about the function for the two filters: (A) and  (B).

e) Write the sequence of Matlab commands that can be applied to the original image and the results from (b) to implement the 'Unsharp Masking'. What  you can deduce about the function of this process?


Related Discussions:- Draw the histogram of the original image

Draw a calculated y vector on the graph, Create a GUI that has A button to ...

Create a GUI that has A button to bring up a dialog to select a text file and read it in. Plot the x,y values on the GUI Have text entry values, one for each parameter, in which

Decision feedback equiliser, i want matlab code for DFB Equiliser and the o...

i want matlab code for DFB Equiliser and the output between tha number of iterations vs MSE

Fourier series for the sawtooth wave, Q. An expression for a sawtooth wave ...

Q. An expression for a sawtooth wave over the internal 0 ≤ t ≤ T0 is given by f(t) = At/T0. The student is encouraged to check the Fourier coefficients to be a 0 = A/2, an = 0 for

Gaussian elimination, Diary Files: Before doing this assignment, please rea...

Diary Files: Before doing this assignment, please read the document Notes on Matlab Assignments (available from the course web page). It describes how to record the results of your

Create multiplicative binomial model calculator, You are asked to create an...

You are asked to create an american option multiplicative binomial model calculator in MatLab. Both put and call options should be valued. Given u, d, S 0 , K, r, and T (the usual

Matlab programming, Obtaining the Partial Fraction Expansion of the Z-Trans...

Obtaining the Partial Fraction Expansion of the Z-Transform expression and to find its Inverse Z-Transforms using MATLAB

Plot the function, Consider the 3rd order Bessel function J3(x). Write a sc...

Consider the 3rd order Bessel function J3(x). Write a script findBessRoots.m that computes all the roots of J3(x) in the interval [0; 40]. Your script must store the roots of the f

Electricity market clearing price, how to obtain matlab coding for the mark...

how to obtain matlab coding for the market clearing price

Digging the dirt - autonomous mining robots , Digging the Dirt: Autonomous...

Digging the Dirt: Autonomous Mining Robots   Mining is a multi-billion dollar industry and a critical part of the Australian economy. Much of the day-to-day work on mining sites

Program to find the undamped natural frequencies, Write a MATLAB program to...

Write a MATLAB program to find the undamped natural frequencies and modes of an electric car treating it as a four degree of freedom system. Determine the undamped natural frequenc

Write Your Message!

Captcha
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