A Java port of the Line Segment Detector algorithm