| HOGDescriptorCompute Method |
Computes HOG descriptors of given image.
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax public virtual float[] Compute(
Mat img,
Nullable<Size> winStride = null,
Nullable<Size> padding = null,
Point[] locations = null
)
Public Overridable Function Compute (
img As Mat,
Optional winStride As Nullable(Of Size) = Nothing,
Optional padding As Nullable(Of Size) = Nothing,
Optional locations As Point() = Nothing
) As Single()
public:
virtual array<float>^ Compute(
Mat^ img,
Nullable<Size> winStride = nullptr,
Nullable<Size> padding = nullptr,
array<Point>^ locations = nullptr
)
abstract Compute :
img : Mat *
?winStride : Nullable<Size> *
?padding : Nullable<Size> *
?locations : Point[]
(* Defaults:
let _winStride = defaultArg winStride null
let _padding = defaultArg padding null
let _locations = defaultArg locations null
*)
-> float32[]
override Compute :
img : Mat *
?winStride : Nullable<Size> *
?padding : Nullable<Size> *
?locations : Point[]
(* Defaults:
let _winStride = defaultArg winStride null
let _padding = defaultArg padding null
let _locations = defaultArg locations null
*)
-> float32[]
Parameters
- img
- Type: OpenCvSharpMat
Matrix of the type CV_8U containing an image where HOG features will be calculated. - winStride (Optional)
- Type: SystemNullableSize
Window stride. It must be a multiple of block stride. - padding (Optional)
- Type: SystemNullableSize
Padding - locations (Optional)
- Type: OpenCvSharpPoint
Vector of Point
Return Value
Type:
SingleMatrix of the type CV_32F
See Also