bitwiseNOTAsync function

Future<Mat> bitwiseNOTAsync(
  1. InputArray src, {
  2. InputArray? mask,
})

BitwiseNot inverts every bit of an array.

For further details, please see: https://docs.opencv.org/master/d2/de8/group__core__array.html#ga0002cf8b418479f4cb49a75442baee2f

Implementation

Future<Mat> bitwiseNOTAsync(InputArray src, {InputArray? mask}) async => cvRunAsync(
      (callback) => mask == null
          ? cffi.core_BitwiseNot_Async(src.ref, callback)
          : cffi.core_BitwiseNotWithMask_Async(src.ref, mask.ref, callback),
      matCompleter,
    );