borderInterpolate 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
int borderInterpolate(int p, int len, int borderType) {
final ptr = calloc<ffi.Int>();
cvRun(() => cffi.Mat_BorderInterpolate(p, len, borderType, ptr));
final v = ptr.value;
calloc.free(ptr);
return v;
}