computeGradient method

void computeGradient(
  1. InputArray img,
  2. InputOutputArray grad,
  3. InputOutputArray angleOfs, {
  4. (int, int) paddingTL = (0, 0),
  5. (int, int) paddingBR = (0, 0),
})

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,
    ),
  );
}