computeGradient method
void
computeGradient(
- InputArray img,
- InputOutputArray grad,
- InputOutputArray angleOfs, {
- (int, int) paddingTL = (0, 0),
- (int, int) paddingBR = (0, 0),
Computes gradients and quantized gradient orientations.
https://docs.opencv.org/4.x/d5/d33/structcv_1_1HOGDescriptor.html#a1f76c51c08d69f2b8a0f079efc4bd093
Implementation
void computeGradient(
InputArray img,
InputOutputArray grad,
InputOutputArray angleOfs, {
(int, int) paddingTL = (0, 0),
(int, int) paddingBR = (0, 0),
}) {
cvRun(
() => cobjdetect.cv_HOGDescriptor_computeGradient(
ref,
img.ref,
grad.ref,
angleOfs.ref,
paddingTL.cvd.ref,
paddingBR.cvd.ref,
ffi.nullptr,
),
);
}