You are here: Start » AVL.NET » Function Reference » Image » Image Spatial Transforms » AVL.CropImage

AVL.CropImage

Creates an image from a box-shaped fragment of the input image (with margins if requested).

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void CropImage
(
	AvlNet.Image inImage,
	AvlNet.Box inSelection,
	AvlNet.Pixel inBorderColor,
	AvlNet.Image outImage
)

Parameters

Name Type Range Default Description
inImageAvlNet.ImageInput image.
inSelectionAvlNet.BoxBox defining a subimage to be cropped.
inBorderColorAvlNet.PixelColor used for locations outside the selection.
outImageAvlNet.ImageOutput image.

Description

The operation extracts part of the inImage that corresponds to the inSelection box.

Examples

CropImage performed on the sample image.

Hardware Acceleration

This operation supports automatic parallelization for multicore and multiprocessor systems.

Hardware acceleration settings may be manipulated with Settings class.

See also