thinningAsync static method
Applies a binary blob thinning operation, to achieve a skeletization of the input image.
The function transforms a binary blob image into a skeletized form using the technique of Zhang-Suen.
https://docs.opencv.org/4.x/df/d2d/group__ximgproc.html#ga37002c6ca80c978edb6ead5d6b39740c
Implementation
static Future<Mat> thinningAsync(InputArray src, {int thinningType = THINNING_ZHANGSUEN}) async =>
cvRunAsync(
(callback) => cffi.ximgproc_thinning_Async(src.ref, thinningType, callback),
matCompleter,
);