patchNaNsAsync method

Future<void> patchNaNsAsync({
  1. double val = 0.0,
})

PatchNaNs converts NaN's to zeros.

Implementation

Future<void> patchNaNsAsync({double val = 0.0}) async =>
    cvRunAsync0<void>((callback) => ccore.cv_Mat_patchNaNs(ref, val, callback), (c) => c.complete());