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

Illustration of a built-in function, Illustration of a built-in function: ...

Illustration of a built-in function: The length function is an illustration of a built-in function which computes a single value; it returns the length of a vector. As an illu

Batch reactor, how to wriet program for batch reactor

how to wriet program for batch reactor

Write the iterative newton root fi nding function, Write the iterative Newt...

Write the iterative Newton root nding function from lecture to be recursive. The function declaration should be root = newtonRec(f,df,x,tol). The inputs to the function are: ?

planar pantograph-based leg, The diagram shown on the next page represents...

The diagram shown on the next page represents a planar pantograph-based leg for a walking robot. This model utilizes only one DOF to generate the walking gait at the foot link 'n

Example of linear indexing, Example of Linear indexing: For illustrati...

Example of Linear indexing: For illustration, the following substitutes the whole second row with values from a vector  The whole row or column could also be changed : >> m

3-A-Day, Savannah says that the least common multiple of 4 and 6 is 24. Is ...

Savannah says that the least common multiple of 4 and 6 is 24. Is she right or what is her mistake?

Airy equations, Need help programming in Matlab for airy equations

Need help programming in Matlab for airy equations

Matrix addition, Write a program in Mathlab for addition of two matrices.

Write a program in Mathlab for addition of two matrices.

Write MATLAB scripts for the following:, To accept two numbers from the use...

To accept two numbers from the user; Display all prime numbers between these two numbers.

Switch statement, The Switch Statement: A switch statement can frequen...

The Switch Statement: A switch statement can frequently used in place of a nested if-else or an if statement with numerous else if clauses. The Switch statements are used when

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