Class cv::ximgproc::RFFeatureGetter#
Collaboration diagram for cv::ximgproc::RFFeatureGetter:
Public Member Functions#
Public Member Functions inherited from cv::Algorithm
Return |
Name |
Description |
|---|---|---|
|
Clears the algorithm state. |
|
|
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read. |
|
|
Reads algorithm parameters from a file storage. |
|
|
||
|
|
|
|
Stores algorithm parameters in a file storage. |
|
|
Static Public Member Functions#
Static Public Member Functions inherited from cv::Algorithm
Return |
Name |
Description |
|---|---|---|
|
|
Loads algorithm from the file. |
|
|
Loads algorithm from a String. |
|
Reads algorithm from the file node. |
Additional Inherited Members#
Protected Member Functions inherited from cv::Algorithm
Return |
Name |
Description |
|---|---|---|
|
Detailed Description#
Helper class for training part of [P. Dollar and C. L. Zitnick. Structured Forests for Fast Edge Detection, 2013].
Member Function Documentation#
getFeatures()#
void cv::ximgproc::RFFeatureGetter::getFeatures(
const Mat & src,
Mat & features,
const int gnrmRad,
const int gsmthRad,
const int shrink,
const int outNum,
const int gradNum )
This functions extracts feature channels from src. Than StructureEdgeDetection uses this feature space to detect edges.
Parameters
src— : source image to extract featuresfeatures— : output n-channel floating point feature matrix.gnrmRad— : __rf.options.gradientNormalizationRadiusgsmthRad— : __rf.options.gradientSmoothingRadiusshrink— : __rf.options.shrinkNumberoutNum— : __rf.options.numberOfOutputChannelsgradNum— : __rf.options.numberOfGradientOrientations
Source file#
The documentation for this class was generated from the following file:
opencv2/ximgproc/structured_edge_detection.hpp