1 / 10

Fitting lines

Fitting lines. Choose a parametric object/some objects to represent a set of tokens Most interesting case is when criterion is not local can’t tell whether a set of points lies on a line by looking only at each point and the next. Three main questions:

maddy
Download Presentation

Fitting lines

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Fitting lines

  2. Choose a parametric object/some objects to represent a set of tokens Most interesting case is when criterion is not local can’t tell whether a set of points lies on a line by looking only at each point and the next. Three main questions: what object represents this set of tokens best? which of several objects gets which token? how many objects are there? (object: line, or circle, or ellipse or...) Fitting

  3. Fitting by the Splitting method • Edge chains: sequences of neighboring edge points • Straight lines Recursively split the current chain into two chains, through the edge point most distant from the segment joining the endpoints of the chain; Until the maximum distance is below a fixed threshold.

  4. Purports to answer all three questions in practice, answer isn’t usually all that much help We do for lines only A line is the set of points (x, y) such that Different choices of q, d>0 give different lines For any (x, y) there is a one parameter family of lines through this point, given by Each point gets to vote for each line in the family; if there is a line that has lots of votes, that should be the line passing through the points Fitting by the Hough Transform

  5. tokens votes

  6. Construct an array representing q, d For each point, render the curve (q, d) into this array, adding one at each cell Difficulties how big should the cells be? (too big, and we cannot distinguish between quite different lines; too small, and noise causes lines to be missed) How many lines? count the peaks in the Hough array Who belongs to which line? tag the votes Hardly ever satisfactory in practice, because problems with noise and cell size defeat it Mechanics of the Hough transform

  7. tokens votes

  8. lots of noise can lead to large peaks in the array

  9. This is the number of votes that the real line of 20 points gets with increasing noise

  10. as the noise increases in a picture without a line, the number of points in the max cell goes up, too

More Related