Class RFFeatureGetter
Helper class for training part of [P. Dollar and C. L. Zitnick. Structured Forests for Fast Edge Detection, 2013].
Implements
Inherited Members
Namespace: OpenCvSharp.XImgProc
Assembly: OpenCvSharp.dll
Syntax
public class RFFeatureGetter : Algorithm, ICvPtrHolder
Constructors
| Improve this Doc View SourceRFFeatureGetter(IntPtr)
Creates instance by raw pointer
Declaration
protected RFFeatureGetter(IntPtr p)
Parameters
Type | Name | Description |
---|---|---|
IntPtr | p |
Methods
| Improve this Doc View SourceCreate()
Creates a RFFeatureGetter
Declaration
public static RFFeatureGetter Create()
Returns
Type | Description |
---|---|
RFFeatureGetter |
DisposeManaged()
Releases managed resources
Declaration
protected override void DisposeManaged()
Overrides
| Improve this Doc View SourceGetFeatures(Mat, Mat, Int32, Int32, Int32, Int32, Int32)
Extracts feature channels from src. Than StructureEdgeDetection uses this feature space to detect edges.
Declaration
public virtual void GetFeatures(Mat src, Mat features, int gnrmRad, int gsmthRad, int shrink, int outNum, int gradNum)
Parameters
Type | Name | Description |
---|---|---|
Mat | src | source image to extract features |
Mat | features | output n-channel floating point feature matrix. |
System.Int32 | gnrmRad | gradientNormalizationRadius |
System.Int32 | gsmthRad | gradientSmoothingRadius |
System.Int32 | shrink | shrinkNumber |
System.Int32 | outNum | numberOfOutputChannels |
System.Int32 | gradNum | numberOfGradientOrientations |