HOGDescriptor Class OpenCvSharp Class Library
HOG (Histogram-of-Oriented-Gradients) Descriptor and Object Detector
Inheritance Hierarchy

SystemObject
  OpenCvSharpDisposableObject
    OpenCvSharpDisposableCvObject
      OpenCvSharp.CPlusPlusHOGDescriptor

Namespace:  OpenCvSharp.CPlusPlus
Assembly:  OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public class HOGDescriptor : DisposableCvObject

The HOGDescriptor type exposes the following members.

Constructors

  NameDescription
Public methodHOGDescriptor
Default constructor
Public methodHOGDescriptor(IntPtr)
Initializes from pointer
Public methodHOGDescriptor(String)
Initializes a new instance of the HOGDescriptor class
Public methodHOGDescriptor(NullableSize, NullableSize, NullableSize, NullableSize, Int32, Int32, Double, HistogramNormType, Double, Boolean, Int32)
Creates the HOG descriptor and detector.
Top
Properties

  NameDescription
Protected propertyAllocatedMemory
Gets or sets a memory address allocated by AllocMemory.
(Inherited from DisposableObject.)
Protected propertyAllocatedMemorySize
Gets or sets the byte length of the allocated memory
(Inherited from DisposableObject.)
Public propertyBlockSize
Public propertyBlockStride
Public propertyCellSize
Public propertyCvPtr
Native pointer of OpenCV structure
(Inherited from DisposableCvObject.)
Public propertyDerivAperture
Public propertyGammaCorrection
Public propertyHistogramNormType
Public propertyIsDisposed
Gets a value indicating whether this instance has been disposed.
(Inherited from DisposableObject.)
Public propertyIsEnabledDispose
Gets or sets a value indicating whether you permit disposing this instance.
(Inherited from DisposableObject.)
Public propertyL2HysThreshold
Public propertyNbins
Public propertyNLevels
Public propertyWinSigma
Public propertyWinSize
Top
Methods

  NameDescription
Protected methodAllocGCHandle
Pins the object to be allocated by cvSetData.
(Inherited from DisposableObject.)
Protected methodAllocMemory
Allocates the specified size of memory.
(Inherited from DisposableObject.)
Public methodCheckDetectorSize
Public methodCompute
Public methodComputeGradient
Public methodDetect(Mat, Double, NullableSize, NullableSize, Point)
Performs object detection without a multi-scale window.
Public methodDetect(Mat, Double, Double, NullableSize, NullableSize, Point)
Performs object detection without a multi-scale window.
Public methodDetectMultiScale(Mat, Double, NullableSize, NullableSize, Double, Int32)
Performs object detection with a multi-scale window.
Public methodDetectMultiScale(Mat, Double, Double, NullableSize, NullableSize, Double, Int32)
Performs object detection with a multi-scale window.
Public methodDetectMultiScaleROI
evaluate specified ROI and return confidence value for each location in multiple scales
Public methodDetectROI
evaluate specified ROI and return confidence value for each location
Public methodDispose
Releases the resources
(Inherited from DisposableObject.)
Protected methodDispose(Boolean)
Clean up any resources being used.
(Overrides DisposableCvObjectDispose(Boolean).)
Public methodEquals (Inherited from Object.)
Protected methodFinalize
Destructor
(Inherited from DisposableObject.)
Public methodStatic memberGetDaimlerPeopleDetector
This method returns 1981 SVM coeffs obtained from daimler's base. To use these coeffs the detection window size should be (48,96)
Public methodStatic memberGetDefaultPeopleDetector
Returns coefficients of the classifier trained for people detection (for default window size).
Public methodGetDescriptorSize
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodGetWinSigma
Public methodGroupRectangles
Public methodLoad
Protected methodMemberwiseClone (Inherited from Object.)
Protected methodNotifyMemoryPressure
Notifies the allocated size of memory.
(Inherited from DisposableObject.)
Public methodReadALTModel
read/parse Dalal's alt model file
Public methodSave
Public methodSetSVMDetector
Public methodThrowIfDisposed
If this object is disposed, then ObjectDisposedException is thrown.
(Inherited from DisposableObject.)
Public methodToString (Inherited from Object.)
Top
Fields

  NameDescription
Public fieldStatic memberDaimlerPeopleDetector
This field returns 1981 SVM coeffs obtained from daimler's base. To use these coeffs the detection window size should be (48,96)
Protected fielddataHandle
Gets or sets a handle which allocates using cvSetData.
(Inherited from DisposableObject.)
Public fieldStatic memberDefaultNlevels
Public fieldStatic memberDefaultPeopleDetector
Returns coefficients of the classifier trained for people detection (for default window size).
Public fieldStatic memberL2Hys
Protected fieldptr
Data pointer
(Inherited from DisposableCvObject.)
Public fieldStatic memberSizeOf
sizeof(HOGDescriptor)
Top
See Also

Reference