Describe how to calculate standard deviation and entropy

Assignment Help Other Engineering
Reference no: EM131059329

Digital Image Processing Home Work

"Representation and Description"

1. Task.

1. What is a descriptor?

2. Describe how to calculate following regional descriptors and give an example what objects could be well described by these descriptors (like average R,G,B values could be used to separate tomatoes from cucumbers in true color images):

2.1. standard deviation

2.2. entropy

2.3. uniformity

2.4. flatness of histogram

2.5. region area

2.6. eccentricity

2. Task.

Test image: example2.png

Prepare Matlab GUI for decriptor testing.

1338_figure.png

1. Button Load I from workspace: loads RGB image called I from Matlab workspace and shows it in axes 1.

2. Button Load BW from workspace: loads segmented image BW by using thresholding and shows it in axes 2. Improve the result of thresholding by removing small meaningless components using morphological processing.

3. Once both images are loaded, then find connected components and show them in axes3.

4. User can click on connected components in axes3. Selected connected component will be shown in axes4 and following descriptors of the region will be calculated and shown in Static Text object:

a) mean R value of Connected Component (CC);

b) mean G value of CC

c) mean B value of CC

d) standard deviation of CC

e) eccentricity of CC

f) entropy of CC

g) area of CC.

"Object Recognition"

T1: OPTICAL CHARACTER RECOGNITION

Perform character recognition in the image and write text to the file.

Test images: TMR.jpg, hitchickersGuideToTheGalaxy.jpg

Procedure:

1. Write a function findRows() which can separate line of the text in the image and save all lines as images in a cell array.

2. Prepare sample data. Import image TMR.jpg, convert it to binary image, invert it and smooth the boundaries by using imclose.

2.1. Extract lines and separate each symbol by using bwlabel.

2.2. Extract each symbol as im using regionprops. Calculate signature sy for this symbol using prepareSignature(). Write in cell array templateset: im, sy and name of the symbol (idea char('A'+(1:26)-1)' could be useful).

108_Figure1.png

3. Process text in hitchhickersGuideToTheGalaxy.jpg: convert it to binary image, invert it and smoothe the boudaries by using imclose.

3.1. Extract lines of text.

3.2. For each line

3.2.1. Find all symbols using bwlabel.

3.2.2. Calculate signature for each symbol and compare this signature with all signatures in templateset (you can use Euclidean distance or mean absolute difference). Assign symbol to the character of template set with the most similar signature.

3.2.3. Write each line in .txt file

4. Write a function findWords for finding words in the line of the text (in the image).

5. Add word separation to the code above and write white spaces in the text file as well.

1134_Figure2.png

Reference no: EM131059329

Questions Cloud

Different for particular asset at particular point in time : What is the difference between the expected rate of return and the required rate of return? What does it mean if they are different for a particular asset at a particular point in time?
Create a conceptual model of the project : In addition, create a conceptual model of the project. Although you will not be submitting the conceptual model you design in Topic 5 with the narrative, the conceptual model should be placed in the appendices for the final paper.
Prepare a classified balance sheet with a proper heading : Prepare a classified balance sheet with a proper heading on a spreadsheet. For assets, use the classifications of current assets, plant and equipment, intangibles, and other assets.
Concept to encompass surf lifestyle for the home : With the growing popularity of casual surf print clothing, two recent MBA graduates decided to broaden this casual surf concept to encompass a "surf lifestyle for the home." With limited capital, they decide to focus on surf print table and floor lam..
Describe how to calculate standard deviation and entropy : Describe how to calculate following regional descriptors and give an example what objects could be well described by these descriptors (like average R,G,B values could be used to separate tomatoes from cucumbers in true color images): standard dev..
What was the firms end-of-year cash balance : You have just been hired as a financial analyst for Basel Industries. Unfortunately, company headquarters (where all of the firm's records are kept) has been destroyed by fire. So, your first job will be to recreate the firm's cash flow statement for..
In the purchasing and payable process : QUESTION 1 - How would we go about testing each of the above and which management's assertions do they relate to? Purchasing & Accounts Payable
Any tax effects in calculating the cash break-even : Calculating Break-Even [LO3] In each of the following cases, calculate the accounting break-even and the cash break-even points. Ignore any tax effects in calculating the cash break-even.
What is the company market value debt–equity ratio : Frusciante, Inc. has 320,000 bonds outstanding. The bonds have a par value of $1,000, a coupon rate of 5.8 percent paid semiannually, and 12 years to maturity. The current YTM on the bonds is 6.3 percent. The company also has 9.5 million shares of st..

Reviews

Write a Review

Other Engineering Questions & Answers

  Determine the initial gas in place

Determine the initial gas in place and what percentage of the initial gas in place will be recovered at a p/z of 1000?

  The machine will consist of a base or frame

The machine will consist of a base or frame, a rotary actuator (to obtain the 90 degree desired rotation about the x-axis), a linear actuator that will move plates back and forth to obtain the 180 degree axis rotation about the y-axis, and a PLC/HMI ..

  What are the pros and cons of alloy manufacture

What are the pros and cons of such manufacture? What steps should be taken to ensure that the bars will not fail in service?

  Process of heating water

Consider the process of heating water on top of an electric range. What are the forms of energy involved during this process? What are the energy transformations that take place?

  Your team has been charged with creating the pumping and

your team has been charged with creating the pumping and piping system to supply cool water to the condenser e-310 for

  Formulate a mixed-integer-linear-programming model

Formulate a mixed-integer-linear-programming model for the problem above by defining the decision variables, expressing objective function and constraints as functions

  Develop a paper design of a system

The purpose of this assignment is to develop a paper design of a system to address an important need.

  How to arrange the office hours for emgt

How to arrange the office hours for EMGT 365 for the next semester. He will have two teaching assistants (TAs). He is considering two options

  Aviation project

Preparation is the key to giving an effective presentation and to controlling your nervousness. Know your topic well. You will be the expert on the topic in the classroom

  Estimate the local heat transfer

Liquid ammonia is heated as it flows at a mean velocity of 2 m s-1 through a circular pipe. The pipe, which has an internal diameter of 75 mm, is at a uniform temperature of 27°C, and the ammonia at a section 1.2 m from the inlet to the pipe has a..

  Correlation analyses

A small transits system has just become part of a transit authority which will provide significantly increased funding.

  Environmental issues and the industrial revolution

The Industrial Revolution, which began in the eighteenth century, has had an ongoing influence on society as well as the relationship between humans and their environment. With the onset of industrialization came the drastic increase in urbanization,..

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