OpenCV
4.1.0
Open Source Computer Vision
|
Classes | |
class | cv::ximgproc::FastLineDetector |
Class implementing the FLD (Fast Line Detector) algorithm described in. More... | |
Functions | |
Ptr< FastLineDetector > | cv::ximgproc::createFastLineDetector (int _length_threshold=10, float _distance_threshold=1.414213562f, double _canny_th1=50.0, double _canny_th2=50.0, int _canny_aperture_size=3, bool _do_merge=false) |
Creates a smart pointer to a FastLineDetector object and initializes it. | |
Ptr<FastLineDetector> cv::ximgproc::createFastLineDetector | ( | int | _length_threshold = 10 , |
float | _distance_threshold = 1.414213562f , |
||
double | _canny_th1 = 50.0 , |
||
double | _canny_th2 = 50.0 , |
||
int | _canny_aperture_size = 3 , |
||
bool | _do_merge = false |
||
) |
Creates a smart pointer to a FastLineDetector object and initializes it.
_length_threshold | 10 - Segment shorter than this will be discarded |
_distance_threshold | 1.41421356 - A point placed from a hypothesis line segment farther than this will be regarded as an outlier |
_canny_th1 | 50 - First threshold for hysteresis procedure in Canny() |
_canny_th2 | 50 - Second threshold for hysteresis procedure in Canny() |
_canny_aperture_size | 3 - Aperturesize for the sobel operator in Canny() |
_do_merge | false - If true, incremental merging of segments will be perfomred |