Cv2Resize Method OpenCvSharp Class Library
Resizes an image.

Namespace:  OpenCvSharp.CPlusPlus
Assembly:  OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public static void Resize(
	InputArray src,
	OutputArray dst,
	Size dsize,
	double fx = 0,
	double fy = 0,
	Interpolation interpolation = Interpolation.Linear
)

Parameters

src
Type: OpenCvSharp.CPlusPlusInputArray
input image.
dst
Type: OpenCvSharp.CPlusPlusOutputArray
output image; it has the size dsize (when it is non-zero) or the size computed from src.size(), fx, and fy; the type of dst is the same as of src.
dsize
Type: OpenCvSharp.CPlusPlusSize
output image size; if it equals zero, it is computed as: dsize = Size(round(fx*src.cols), round(fy*src.rows)) Either dsize or both fx and fy must be non-zero.
fx (Optional)
Type: SystemDouble
scale factor along the horizontal axis; when it equals 0, it is computed as: (double)dsize.width/src.cols
fy (Optional)
Type: SystemDouble
scale factor along the vertical axis; when it equals 0, it is computed as: (double)dsize.height/src.rows
interpolation (Optional)
Type: OpenCvSharpInterpolation
interpolation method
See Also

Reference