You are here: Start » AVL.NET » Invoke.CropImageToQuadrangle
Creates an image from a quadrangle on another image.
Namespace: | Avl |
---|---|
Assembly: | AvlNet.dll |
Syntax
C++
C#
public static void CropImageToQuadrangle ( Avl.Image inImage, Avl.Path inQuadrangle, Optional<Avl.CoordinateSystem2D> inQuadrangleAlignment, Optional<Avl.Size> inOutputSize, Avl.InterpolationMethod inInterpolationMethod, int inMargin, Avl.Pixel inBorderColor, Avl.Image outImage, Optional<Avl.Path> outAlignedQuadrangle )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inImage | Avl.Image | Input image. | ||
![]() | inQuadrangle | Avl.Path | Rectangle defining a rotated subimage. | ||
![]() | inQuadrangleAlignment | Atl.Optional<Avl.CoordinateSystem2D> | Adjusts the rectangle to the position of the inspected object. Default value: atl::NIL. | ||
![]() | inOutputSize | Atl.Optional<Avl.Size> | Dimensions of the output image. Default value: atl::NIL. | ||
![]() | inInterpolationMethod | Avl.InterpolationMethod | Bilinear | Default value: Bilinear. | |
![]() | inMargin | int | <0, 65535> | Width of an additional margin for the output image. | |
![]() | inBorderColor | Avl.Pixel | Color used for locations outside the quadrangle. | ||
![]() | outImage | Avl.Image | Output image. | ||
![]() | outAlignedQuadrangle | Atl.Optional<Avl.Path> | Input quadrangle after transformation (in the image coordinates). |