detect (cv.FastLineDetector) - MATLAB File Help
cv.FastLineDetector/detect

Finds lines in the input image

lines = obj.detect(img)

Input

Output

An example output of the default parameters of the algorithm can be seen here:

image

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);
See also
Method Details
Access public
Sealed false
Static false