Click or drag to resize

CvInvokeResizeForFrame Method

http://www.emgu.com
Resize an image such that it fits in a given frame

Namespace:  Emgu.CV
Assembly:  Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.1.1.3497 (4.1.1.3497)
Syntax
public static void ResizeForFrame(
	IInputArray src,
	IOutputArray dst,
	Size frameSize,
	Inter interpolationMethod = Inter.Linear,
	bool scaleDownOnly = true
)

Parameters

src
Type: Emgu.CVIInputArray
The source image
dst
Type: Emgu.CVIOutputArray
The result image
frameSize
Type: System.DrawingSize
The size of the frame
interpolationMethod (Optional)
Type: Emgu.CV.CvEnumInter
The interpolation method
scaleDownOnly (Optional)
Type: SystemBoolean
If true, it will not try to scale up the image to fit the frame
See Also