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

#title.matrix, #defining matrix using only special commands

#defining matrix using only special commands

Matlab script that will prompt the user to enter the launch , Consider the ...

Consider the analytic solution of the projectile problem described. Write a MATLAB script that will prompt the user to enter the launch speed and angle, and will compute the peak h

Functions with local variables, Functions with Local Variables: The fu...

Functions with Local Variables: The functions we have seen faraway have been very easy. Though, in many situations the computations in a function are more complex, and may nee

Matlab programming vector algebra, Matlab Programming Vector Algebra : Crea...

Matlab Programming Vector Algebra : Create a program package for calculation of distances and intersections of lines and planes. Plot the results in a graphical representation

Type logical , Type logical: The type logical is used to store the tru...

Type logical: The type logical is used to store the true/false values. If any variables have been formed in the Command Window, they can be seen at the Workspace Window. In

Produce a random real number, Produce a random real number: To produce...

Produce a random real number: To produce a random real number in the range from low to high, at first create the variables low and high. And then, use the expression rand*(hig

Real time color recognition, Hello my name is lalitkumar and I am a student...

Hello my name is lalitkumar and I am a student.I needed help in MATLAB for recognition of colour randomly using webcam realtime for RGB without external trigger.please mail the co

Programs to determine discrete fourier transform, A 12-point sequence is x ...

A 12-point sequence is x (n) defined as x(n) = { 1, 2, 3, 4, 5, 6, 6, 5, 4, 3, 2, 1}. Write MATLAB programs to (a) Determine the DFT X (k) of x(n) and plot (using stem function)

Create matlab program, Create MATLAB program(s) that solve a problem of you...

Create MATLAB program(s) that solve a problem of your own choice. You may opt to solve work related problem, an industrial problem, or problem from your research project. Markin

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