adaptiveThreshold function

void adaptiveThreshold(
  1. InputArray src,
  2. OutputArray dst,
  3. double maxValue,
  4. int adaptiveMethod,
  5. int thresholdType,
  6. int blockSize,
  7. double C,
)

AdaptiveThreshold applies a fixed-level threshold to each array element.

For further details, please see: https:///docs.opencv.org/master/d7/d1b/group__imgproc__misc.html#ga72b913f352e4a1b1b397736707afcde3

Implementation

void adaptiveThreshold(
  InputArray src,
  OutputArray dst,
  double maxValue,
  int adaptiveMethod,
  int thresholdType,
  int blockSize,
  double C,
) {
  _bindings.AdaptiveThreshold(
    src.ptr,
    dst.ptr,
    maxValue,
    adaptiveMethod,
    thresholdType,
    blockSize,
    C,
  );
}