adaptiveThreshold function

VARP adaptiveThreshold(
  1. VARP src,
  2. double maxValue,
  3. int adaptiveMethod,
  4. int thresholdType,
  5. int blockSize,
  6. double C,
)

Implementation

VARP adaptiveThreshold(
  VARP src,
  double maxValue,
  int adaptiveMethod,
  int thresholdType,
  int blockSize,
  double C,
) {
  final pOut = c.mnn_cv_adaptiveThreshold(src.ptr, maxValue, adaptiveMethod, thresholdType, blockSize, C);
  final rval = VARP.fromPointer(pOut);
  return rval;
}