You are here: Start » AVL.NET » Function Reference » Image » Image Features » AVL.ImageProjection

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
inImageAvlNet.ImageMonochromatic image.
inProjectionDirectionAvlNet.ProjectionDirectionCombine pixel values for image rows (horizontal) or columns (vertical).
inProjectionModeAvlNet.ProjectionModeSumDetermines how the pixel values are combined. Default value: Sum.
outProfileAvlNet.ProfileOutput profile.

Description

Computes the average (or other statistic) for each image row or column and then merges the obtained results into a profile.

Examples

ImageProjection performed on a lena sample.

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.

Errors

List of possible exceptions:

Error type Description
DomainError Region exceeds an input image in ImageProjection.
DomainError Not supported inImage pixel format in ImageProjection.

Function Overrides

See also