getRectSubPixAsync function
Future<Mat>
getRectSubPixAsync(
- InputArray image,
- (int, int) patchSize,
- Point2f center, {
- int patchType = -1,
GetRectSubPix retrieves a pixel rectangle from an image with sub-pixel accuracy.
For further details, please see: https:///docs.opencv.org/master/da/d54/group__imgproc__transform.html#ga77576d06075c1a4b6ba1a608850cd614
Implementation
Future<Mat> getRectSubPixAsync(
InputArray image,
(int, int) patchSize,
Point2f center, {
int patchType = -1,
}) async =>
cvRunAsync(
(callback) => cffi.GetRectSubPix_Async(image.ref, patchSize.cvd.ref, center.ref, callback),
matCompleter,
);