resize function
Implementation
VARP resize(
VARP src,
(int, int) dsize, {
double fx = 0,
double fy = 0,
int interpolation = INTER_LINEAR,
int code = -1,
List<double> mean = const [],
List<double> norm = const [],
}) {
final cMean = mean.f32;
final cNorm = norm.f32;
final cDsize = Size.fromTuple(dsize);
final pOut = c.mnn_cv_resize(
src.ptr,
cDsize.ref,
fx,
fy,
interpolation,
code,
cMean.ptr,
cNorm.ptr,
);
final rval = VARP.fromPointer(pOut);
cMean.dispose();
cNorm.dispose();
cDsize.dispose();
return rval;
}