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(() => ccore.cv_borderInterpolate(p, len, borderType, ptr, ffi.nullptr));
final v = ptr.value;
calloc.free(ptr);
return v;
}