You are here: Start » AVL.NET » Invoke.CropImageToQuadrangle

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
inImageAvl.ImageInput image.
inQuadrangleAvl.PathRectangle defining a rotated subimage.
inQuadrangleAlignmentAtl.Optional<Avl.CoordinateSystem2D>Adjusts the rectangle to the position of the inspected object. Default value: atl::NIL.
inOutputSizeAtl.Optional<Avl.Size>Dimensions of the output image. Default value: atl::NIL.
inInterpolationMethodAvl.InterpolationMethodBilinearDefault value: Bilinear.
inMarginint<0, 65535>Width of an additional margin for the output image.
inBorderColorAvl.PixelColor used for locations outside the quadrangle.
outImageAvl.ImageOutput image.
outAlignedQuadrangleAtl.Optional<Avl.Path>Input quadrangle after transformation (in the image coordinates).

See also