ASLSD – Line Segment Detector

ASLSD example

I found this detector very useful for one of my projects and decided to share the code.
You can find original implementation here. It is not like simple edge detectors but designed specially for line detection. As the result you got an array of {x, y} coordinates that represent all available line segments and this opens very large usage opportunities.

Try demo application
Download Library SWC
WIKI Page

8 Responses to “ASLSD – Line Segment Detector”


  1. 1 Rezmason

    Keep on detecting those line segments, Eugene! :-)

  2. 2 Mario Klingemann

    Very useful indeed! Thanks! Are you planning to add an asynchronous option for getLineSegments()? With big images it can take a while to calculate.

  3. 3 Eugene

    @Mario yeah u right. it should be added soon!

  4. 4 makc

    This better be good. Because I have an idea for this…

  5. 5 makc

    what’s the “angle” param meaning? seems to be slowing it down the most.

  6. 6 Michael

    Looks hot, Eugene. Between you and Mario, I’m sure something very cool will come of this.

  1. 1 Tweets that mention ASLSD – Line Segment Detector | astatic notes -- Topsy.com
  2. 2 链接大放送 | 增强视觉 | 计算机视觉 增强现实

Leave a Reply