MATLAB File Help: cv.LineSegmentDetector Index
cv.LineSegmentDetector

Line segment detector class.

Following the algorithm described at [Rafael12].

References:

[Rafael12]:

Rafael Grompone von Gioi, Jeremie Jakubowicz, Jean-Michel Morel, and Gregory Randall. Lsd: a line segment detector. 2012.

Class Details
Superclasses handle
Sealed false
Construct on load false
Constructor Summary
LineSegmentDetector Creates a LineSegmentDetector object and initializes it. 
Property Summary
id Object ID 
Method Summary
  addlistener Add listener for event. 
  clear Clears the algorithm state. 
  compareSegments Draws two groups of lines in blue and red, counting the non overlapping (mismatching) pixels. 
  delete Destructor 
  detect Finds lines in the input image. 
  drawSegments Draws the line segments on a given image. 
  empty Checks if algorithm object is empty. 
  eq == (EQ) Test handle equality. 
  findobj Find objects matching specified conditions. 
  findprop Find property of MATLAB handle object. 
  ge >= (GE) Greater than or equal relation for handles. 
  getDefaultName Returns the algorithm string identifier. 
  gt > (GT) Greater than relation for handles. 
Sealed   isvalid Test handle validity. 
  le <= (LE) Less than or equal relation for handles. 
  load Loads algorithm from a file or a string. 
  lt < (LT) Less than relation for handles. 
  ne ~= (NE) Not equal relation for handles. 
  notify Notify listeners of event. 
  save Saves the algorithm to a file.