HOG (Histogram-of-Oriented-Gradients) Descriptor and Object Detector
Inheritance Hierarchy
OpenCvSharpDisposableObject
OpenCvSharpDisposableCvObject
OpenCvSharp.CPlusPlusHOGDescriptor
Namespace: OpenCvSharp.CPlusPlus
Assembly: OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
The HOGDescriptor type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| HOGDescriptor |
Default constructor
| |
| HOGDescriptor(IntPtr) |
Initializes from pointer
| |
| HOGDescriptor(String) | Initializes a new instance of the HOGDescriptor class | |
| HOGDescriptor(NullableSize, NullableSize, NullableSize, NullableSize, Int32, Int32, Double, HistogramNormType, Double, Boolean, Int32) |
Creates the HOG descriptor and detector.
|
Properties
| Name | Description | |
|---|---|---|
| AllocatedMemory |
Gets or sets a memory address allocated by AllocMemory.
(Inherited from DisposableObject.) | |
| AllocatedMemorySize |
Gets or sets the byte length of the allocated memory
(Inherited from DisposableObject.) | |
| BlockSize | ||
| BlockStride | ||
| CellSize | ||
| CvPtr |
Native pointer of OpenCV structure
(Inherited from DisposableCvObject.) | |
| DerivAperture | ||
| GammaCorrection | ||
| HistogramNormType | ||
| IsDisposed |
Gets a value indicating whether this instance has been disposed.
(Inherited from DisposableObject.) | |
| IsEnabledDispose |
Gets or sets a value indicating whether you permit disposing this instance.
(Inherited from DisposableObject.) | |
| L2HysThreshold | ||
| Nbins | ||
| NLevels | ||
| WinSigma | ||
| WinSize |
Methods
| Name | Description | |
|---|---|---|
| AllocGCHandle |
Pins the object to be allocated by cvSetData.
(Inherited from DisposableObject.) | |
| AllocMemory |
Allocates the specified size of memory.
(Inherited from DisposableObject.) | |
| CheckDetectorSize | ||
| Compute | ||
| ComputeGradient | ||
| Detect(Mat, Double, NullableSize, NullableSize, Point) |
Performs object detection without a multi-scale window.
| |
| Detect(Mat, Double, Double, NullableSize, NullableSize, Point) |
Performs object detection without a multi-scale window.
| |
| DetectMultiScale(Mat, Double, NullableSize, NullableSize, Double, Int32) |
Performs object detection with a multi-scale window.
| |
| DetectMultiScale(Mat, Double, Double, NullableSize, NullableSize, Double, Int32) |
Performs object detection with a multi-scale window.
| |
| DetectMultiScaleROI |
evaluate specified ROI and return confidence value for each location in multiple scales
| |
| DetectROI |
evaluate specified ROI and return confidence value for each location
| |
| Dispose |
Releases the resources
(Inherited from DisposableObject.) | |
| Dispose(Boolean) |
Clean up any resources being used.
(Overrides DisposableCvObjectDispose(Boolean).) | |
| Equals | (Inherited from Object.) | |
| Finalize |
Destructor
(Inherited from DisposableObject.) | |
| GetDaimlerPeopleDetector |
This method returns 1981 SVM coeffs obtained from daimler's base.
To use these coeffs the detection window size should be (48,96)
| |
| GetDefaultPeopleDetector |
Returns coefficients of the classifier trained for people detection (for default window size).
| |
| GetDescriptorSize | ||
| GetHashCode | (Inherited from Object.) | |
| GetType | (Inherited from Object.) | |
| GetWinSigma | ||
| GroupRectangles | ||
| Load | ||
| MemberwiseClone | (Inherited from Object.) | |
| NotifyMemoryPressure |
Notifies the allocated size of memory.
(Inherited from DisposableObject.) | |
| ReadALTModel |
read/parse Dalal's alt model file
| |
| Save | ||
| SetSVMDetector | ||
| ThrowIfDisposed |
If this object is disposed, then ObjectDisposedException is thrown.
(Inherited from DisposableObject.) | |
| ToString | (Inherited from Object.) |
Fields
| Name | Description | |
|---|---|---|
| DaimlerPeopleDetector |
This field returns 1981 SVM coeffs obtained from daimler's base.
To use these coeffs the detection window size should be (48,96)
| |
| dataHandle |
Gets or sets a handle which allocates using cvSetData.
(Inherited from DisposableObject.) | |
| DefaultNlevels | ||
| DefaultPeopleDetector |
Returns coefficients of the classifier trained for people detection (for default window size).
| |
| L2Hys | ||
| ptr |
Data pointer
(Inherited from DisposableCvObject.) | |
| SizeOf |
sizeof(HOGDescriptor)
|
See Also