You are here: Start » AVL.NET » AVL.CropImageToRectangle(AvlNet.Image, AvlNet.Rectangle2D, AvlNet.CoordinateSystem2D?, AvlNet.InterpolationMethod, float, AvlNet.Image)
AVL.CropImageToRectangle(AvlNet.Image, AvlNet.Rectangle2D, AvlNet.CoordinateSystem2D?, AvlNet.InterpolationMethod, float, AvlNet.Image)
Creates an image from a rectangular fragment of another image (with black margins if requested).
| Namespace: | AvlNet |
|---|---|
| Assembly: | AVL.NET.dll |
Syntax
public static void CropImageToRectangle( AvlNet.Image inImage, AvlNet.Rectangle2D inRectangle, AvlNet.CoordinateSystem2D? inRectangleAlignment, AvlNet.InterpolationMethod inInterpolationMethod, float inMargin, out AvlNet.Image outImage )
Parameters
- inImage
- Type: AvlNet.Image
Input image - inRectangle
- Type: AvlNet.Rectangle2D
Rectangle defining a rotated subimage - inRectangleAlignment
- Type: System.Nullable<AvlNet.CoordinateSystem2D>
Adjusts the rectangle to the position of the inspected object, or null. - inInterpolationMethod
- Type: AvlNet.InterpolationMethod
- inMargin
- Type: System.Single
Width of an additional black margin for the output image - outImage
- Type: AvlNet.Image
Output image
Remarks
See full override for more details.
