OpenCV453
クラス | 関数
Ximgproc_fast_line_detector

クラス

class  cv::ximgproc::FastLineDetector
 Class implementing the FLD (Fast Line Detector) algorithm described in [Lee14] . [詳解]
 

関数

CV_EXPORTS_W Ptr< FastLineDetectorcv::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 [詳解]
 

詳解

関数詳解

◆ createFastLineDetector()

CV_EXPORTS_W 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_thresholdSegment shorter than this will be discarded
distance_thresholdA point placed from a hypothesis line segment farther than this will be regarded as an outlier
canny_th1First threshold for hysteresis procedure in Canny()
canny_th2Second threshold for hysteresis procedure in Canny()
canny_aperture_sizeAperturesize for the sobel operator in Canny(). If zero, Canny() is not applied and the input image is taken as an edge image.
do_mergeIf true, incremental merging of segments will be performed