Scale the image to the specific size
Namespace:
Emgu.CVAssembly: Emgu.CV (in Emgu.CV.dll) Version: 2.0.1.0 (2.0.1.0)
Syntax
C# |
---|
public Image<TColor, TDepth> Resize( int width, int height, INTER interpolationType, bool preserveScale ) |
Visual Basic (Declaration) |
---|
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 ) |
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
[Missing <returns> documentation for "M:Emgu.CV.Image`2.Resize(System.Int32,System.Int32,Emgu.CV.CvEnum.INTER,System.Boolean)"]