http://www.emgu.com
Scale the image to the specific size

Namespace: Emgu.CV
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.4.10.1935 (2.4.10.1935)

Syntax

C#
public Image<TColor, TDepth> Resize(
	int width,
	int height,
	INTER interpolationType,
	bool preserveScale
)
Visual Basic
Public Function Resize ( 
	width As Integer,
	height As Integer,
	interpolationType As INTER,
	preserveScale As Boolean
) As Image(Of TColor, TDepth)
Visual C++
public:
Image<TColor, TDepth>^ Resize(
	int width, 
	int height, 
	INTER interpolationType, 
	bool preserveScale
)
F#
member Resize : 
        width : int * 
        height : int * 
        interpolationType : INTER * 
        preserveScale : bool -> Image<'TColor, 'TDepth> 

Parameters

width
Type: System..::..Int32
The width of the returned image.
height
Type: System..::..Int32
The height of the returned image.
interpolationType
Type: Emgu.CV.CvEnum..::..INTER
The type of interpolation
preserveScale
Type: System..::..Boolean
if true, the scale is preservered and the resulting image has maximum width(height) possible that is <= width (height), if false, this function is equaivalent to Resize(int width, int height)

Return Value

Type: Image<(Of <(<'TColor, TDepth>)>)>
The resized image

See Also