niBlackThresholdAsync static method
Performs thresholding on input images using Niblack's technique or some of the popular variations it inspired.
https://docs.opencv.org/4.x/df/d2d/group__ximgproc.html#gab042a5032bbb85275f1fd3e04e7c7660
Implementation
static Future<Mat> niBlackThresholdAsync(
InputArray src,
double maxValue,
int type,
int blockSize,
double k, {
int binarizationMethod = BINARIZATION_NIBLACK,
double r = 128,
}) async =>
cvRunAsync(
(callback) => cffi.ximgproc_niBlackThreshold_Async(
src.ref,
maxValue,
type,
blockSize,
k,
binarizationMethod,
r,
callback,
),
matCompleter,
);