OpenCV  3.4.20-dev
Open Source Computer Vision
Classes | Functions
Structured forests for fast edge detection


class  cv::ximgproc::RFFeatureGetter
class  cv::ximgproc::StructuredEdgeDetection
 Class implementing edge detection algorithm from [57] : More...


Ptr< RFFeatureGettercv::ximgproc::createRFFeatureGetter ()
Ptr< StructuredEdgeDetectioncv::ximgproc::createStructuredEdgeDetection (const String &model, Ptr< const RFFeatureGetter > howToGetFeatures=Ptr< RFFeatureGetter >())

Detailed Description

This module contains implementations of modern structured edge detection algorithms, i.e. algorithms which somehow takes into account pixel affinities in natural images.

Function Documentation

◆ createRFFeatureGetter()

Ptr<RFFeatureGetter> cv::ximgproc::createRFFeatureGetter ( )
cv.ximgproc.createRFFeatureGetter() -> retval

◆ createStructuredEdgeDetection()

Ptr<StructuredEdgeDetection> cv::ximgproc::createStructuredEdgeDetection ( const String model,
Ptr< const RFFeatureGetter howToGetFeatures = PtrRFFeatureGetter >() 
cv.ximgproc.createStructuredEdgeDetection(model[, howToGetFeatures]) -> retval

#include <opencv2/ximgproc/structured_edge_detection.hpp>

The only constructor

model: name of the file where the model is stored
howToGetFeatures: optional object inheriting from RFFeatureGetter. You need it only if you would like to train your own forest, pass NULL otherwise