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

Invoke.CropImageToQuadrangle

Creates an image from a quadrangle on another image.

Namespace:Fil
Assembly:FilNet.dll

Syntax

C++
C#
 
public static void CropImageToQuadrangle
(
	Fil.Image inImage,
	Fil.Path inQuadrangle,
	Optional<Fil.CoordinateSystem2D> inQuadrangleAlignment,
	Optional<Fil.Size> inOutputSize,
	Fil.InterpolationMethod inInterpolationMethod,
	int inMargin,
	Fil.Pixel inBorderColor,
	Fil.Image outImage,
	Optional<Fil.Path> outAlignedQuadrangle
)

Parameters

Name Type Range Default Description
inImageFil.ImageInput image.
inQuadrangleFil.PathRectangle defining a rotated subimage.
inQuadrangleAlignmentFtl.Optional<Fil.CoordinateSystem2D>Adjusts the rectangle to the position of the inspected object. Default value: ftl::NIL.
inOutputSizeFtl.Optional<Fil.Size>Dimensions of the output image. Default value: ftl::NIL.
inInterpolationMethodFil.InterpolationMethodBilinearDefault value: Bilinear.
inMarginint<0, 65535>Width of an additional margin for the output image.
inBorderColorFil.PixelColor used for locations outside the quadrangle.
outImageFil.ImageOutput image.
outAlignedQuadrangleFtl.Optional<Fil.Path>Input quadrangle after transformation (in the image coordinates).

See also