Scale the image to the specific size

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

Syntax

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

Parameters

width
Int32
The width of the returned image.
height
Int32
The height of the returned image.
interpolationType
INTER
The type of interpolation
preserveScale
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

[Missing <returns> documentation for "M:Emgu.CV.Image`2.Resize(System.Int32,System.Int32,Emgu.CV.CvEnum.INTER,System.Boolean)"]

See Also