You are here: Start » AVL.NET » AVS.CropImageToQuadrangle Method

AVS.CropImageToQuadrangle Method

Creates an image from a quadrangle on another image.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void CropImageToQuadrangle
(
	AvlNet.Image inImage,
	AvlNet.Path inQuadrangle,
	AvlNet.CoordinateSystem2D? inQuadrangleAlignment,
	AvlNet.Size? inOutputSize,
	AvlNet.InterpolationMethod inInterpolationMethod,
	int inMargin,
	AvlNet.Pixel inBorderColor,
	AvlNet.Image outImage
)

Parameters

Name Type Range Default Description
inImageAvlNet.ImageInput image.
inQuadrangleAvlNet.PathRectangle defining a rotated subimage.
inQuadrangleAlignmentAvlNet.CoordinateSystem2D?Adjusts the rectangle to the position of the inspected object. Default value: atl::NIL.
inOutputSizeAvlNet.Size?Dimensions of the output image. Default value: atl::NIL.
inInterpolationMethodAvlNet.InterpolationMethodBilinearDefault value: Bilinear.
inMarginint<0, 65535>Width of an additional margin for the output image.
inBorderColorAvlNet.PixelColor used for locations outside the quadrangle.
outImageAvlNet.ImageOutput image.

Function Overrides

See also