borderInterpolateAsync function
BorderInterpolate computes the source location of an extrapolated pixel.
For further details, please see: https://docs.opencv.org/master/d2/de8/group__core__array.html#ga247f571aa6244827d3d798f13892da58
Implementation
Future<int> borderInterpolateAsync(int p, int len, int borderType) async {
final ptr = calloc<ffi.Int>();
return cvRunAsync0(
(callback) => ccore.cv_borderInterpolate(p, len, borderType, ptr, callback),
(c) {
final v = ptr.value;
calloc.free(ptr);
return c.complete(v);
},
);
}