| detect (cv.FastLineDetector) - MATLAB File Help |
Finds lines in the input image
lines = obj.detect(img)
uint8) input image.{[x1,y1, x2,y2], ..} specifying the beginning and ending
point of a line, where point 1 [x1,y1] is the start, point 2
[x2,y2] the end. Returned lines are directed so that the
brighter side is on their left.An example output of the default parameters of the algorithm can be seen here:

If only a ROI needs to be selected, use:
lines = obj.detect(cv.Rect.crop(image, roi));
lines = cat(1, lines{:});
lines = bsxfun(@plus, lines, roi);
| Access | public |
| Sealed | false |
| Static | false |