http://www.emgu.com
Scale the image to the specific size
Namespace: Emgu.CVAssembly: Emgu.CV (in Emgu.CV.dll) Version: 2.3.0.1416 (2.3.0.1416)
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
) |
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
The resized image
See Also