1 write a program that takes the image tracksjpg and finds

Assignment Help Mechanical Engineering
Reference no: EM13346977

1) Write a program that takes the image tracks.jpg and finds Canny edges, and then finds lines in these edges using the Hough transform. The easiest way to do this is to take the programs edge.c and houghlines.c in the C samples directory of OpenCV, and then combine them. First find edges (there are three parameters you can adjust to create different edges; one way to try different combinations is to change them in real-time using trackbars). Then find the lines in the resulting edges using the Hough transform and draw the lines over the edges in the image. You should adjust the Canny parameters so that the results should look similar to the image hough-lines.jpg. In particular, there should be between two and five lines (no more and no less).

2) Use the program called harris-shell.c and add some code to find the corners in the image checkers.jpg. You should say that a pixel in the image is a corner if it passes the given threshold for Harris Corners. You do not need to thin the corners using non-maxima suppression. You should draw a small circle or dot on these corner pixels, and then save the resulting image. The final image should look similar to Corner-out.pgn. You need to look up the formula to find the eigenvalues of a real, symmetric, two by two matrix.

3) Two kinds of line detection are implemented in OpenCV, the Hough Transform and the probabilistic Hough transform. Assume that there are n feature points in an image and that it takes O(k) time to increment the accumulator array for each feature point when computing the normal (not probabilistic) Hough transform. What is the running time of the Hough transform in big O notation, that is O(...).

4) The probabilistic Hough transform uses random sampling instead of an accumulator array. In this approach the number of random samples r, is not specified in the OpenCV call, but is an important hidden parameter. If there are n feature points in an image then what is the running time of the probabilistic Hough transform in big O notation.

5) If we wished to find an ellipse using the Hough Transform, which of the two approaches is most practical (Standard HT, or probabilistic HT).

6) If we take the input image and smooth it with a Gaussian of a significant size before computing the Canny edges does the number of edges change, and do the locations of these edges change? In this case by change we mean are they different from the result compared to the original unsmoothed input image?

Reference no: EM13346977

Questions Cloud

1 let pnx be the lagrange interpolating polynomial of : 1. let pnx be the lagrange interpolating polynomial of degree at most n that satis?es pnxi yi i 0 1 2 . . . n.write
1 the ground state ofnbsp has jpi 32-1 the first excited : 1. the ground state ofnbsp has jpi 32-1 the first excited state at 67.4 kev has jpi 12-1 and the second excited state
Scratch pre-testthese pre-test questions are for getting : scratch pre-testthese pre-test questions are for getting your background knowledge on scratch and computing
1 consider the diagram below where a pump is used to draw : 1 consider the diagram below where a pump is used to draw water from a lake to feed an irrigation system.a which of the
1 write a program that takes the image tracksjpg and finds : 1 write a program that takes the image tracks.jpg and finds canny edges and then finds lines in these edges using the
Consider the power system as designed below the duty fluid : consider the power system as designed below. the duty fluid is water and has a mass flow 0.75 kg s and all piping
Write the code1 one argument used to justify the fact that : write the code1. one argument used to justify the fact that the stack data structure in the standard library does not
Question-the topic is nbspdisks forensicsthe presentation : question-the topic is nbspdisks forensics.the presentation should go like thisintroductiontypeshow it occurshow to
1 where does translation occura in the nucleusb cytoplasmc : 1. where does translation occur?a. in the nucleusb. cytoplasmc. on the dnad. none of above2. select the correct answer

Reviews

Write a Review

Mechanical Engineering Questions & Answers

  Determine the compression ratio

determine (a) the compression ratio, (b) the cycle efficiency, (c) exhaust temperature, and (d) mean effective pressure (kPa). Draw (e) a P-v diagram and (f) a T-s diagram

  How will notches and holes affect the deflection

How will notches and holes affect the deflection of a cantilever beam? ie. increase or decrease? (Please provide citations)

  Explain midrange and amplitude components

Midrange and amplitude components, A shaft is subjected to a completely reversed bending stress such that Xmax=40kpsi and Xmin=-40kpsi

  Compute the concentration of li that is required

Aluminum-lithium alloys have been developed by the aircraft industry to reduce the weight and improve the performance of its aircraft. A commercial aircraft skin material having a density of 2.47 g/cm3 is desired. Compute the concentration of Li (..

  Explain what is the mass flow rate

Water enters a 2 meter diameter pipe at a temperature of 23 deg C. The water leaves the pipe at a temperature of 97 deg C The laminar flow rate is such that the Reynolds number is 800. What is the mass flow rate?

  Determine the dimensions of the rack structure

The rack structure will be built 2 ft above floor level, and the clearance between the rack structure and the ceiling of the building must be at least 18 in. Determine the dimensions (height, length, and width) of the rack structure.

  Calculate real gas pseudopressure at a pressure

Calculate real gas pseudopressure at a pressure of 1902.7 psia using the following data and a base pressure of 102.7 psia. Was the calculation of real gas pseudopressure necessary for this gas? Explain your answer.

  A horizontal circular cylinder of diameter d 02m and

a horizontal circular cylinder of diameter d 0.2m and length 2m is elastically mounted on two springs and towing tank

  How is the mechanical deformation energy defined

How is the mechanical deformation energy defined? How do you calculate the work of fracture of a brittle material?

  Calculate the minimal round-trip time delay

Calculate the minimal round-trip time delay for a radio communications link between Los Angeles and the satellite.

  Calculate the initial angular acceleration

A dump truck is shown in the figure. The loaded container has a mass of 8000 Kg and may be modelled as a solid homogeneous block. The hydraulic cylinder applies a force of 300 kN to the container in the starting position shown.

  Find the velocity of the wind

A plane can fly 305 mph in still air. If it can fly 185 miles downwind in the same amount of time it can fly 120 miles upwind, find the velocity of the wind.

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