You are here: Start » AVL.NET » AVL.ImageProjection
Computes the average (or other statistic) for each image row or column and then merges the obtained results into a profile.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void ImageProjection ( AvlNet.Image inImage, AvlNet.ProjectionDirection inProjectionDirection, AvlNet.ProjectionMode inProjectionMode, AvlNet.Profile outProfile )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inImage | AvlNet.Image | Monochromatic image. | |||
inProjectionDirection | AvlNet.ProjectionDirection | Combine pixel values for image rows (horizontal) or columns (vertical). | |||
inProjectionMode | AvlNet.ProjectionMode | Sum | Determines how the pixel values are combined. Default value: Sum. | ||
outProfile | AvlNet.Profile | Output profile. |
Description
Computes the average (or other statistic) for each image row or column and then merges the obtained results into a profile.
Examples
Mode | Horizontal Direction | Vertical Direction |
---|---|---|
Sum | ||
Average | ||
Maximum | ||
Minimum | ||
Median |
Hardware Acceleration
This operation supports automatic parallelization for multicore and multiprocessor systems.
Hardware acceleration settings may be manipulated with Settings class.