You are here: Start » FIL.NET » FIS.CropImageToQuadrangle Method

FIS.CropImageToQuadrangle Method

Creates an image from a quadrangle on another image.

Namespace:FilNet
Assembly:FIL.NET.dll

Syntax

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

Parameters

Name Type Range Default Description
inImageFilNet.ImageInput image.
inQuadrangleFilNet.PathRectangle defining a rotated subimage.
inQuadrangleAlignmentFilNet.CoordinateSystem2D?Adjusts the rectangle to the position of the inspected object. Default value: ftl::NIL.
inOutputSizeFilNet.Size?Dimensions of the output image. Default value: ftl::NIL.
inInterpolationMethodFilNet.InterpolationMethodBilinearDefault value: Bilinear.
inMarginint<0, 65535>Width of an additional margin for the output image.
inBorderColorFilNet.PixelColor used for locations outside the quadrangle.
outImageFilNet.ImageOutput image.
outAlignedQuadrangleFilNet.PathInput quadrangle after transformation (in the image coordinates).

Function Overrides

See also