You are here: Start » FIL.NET » FIL.ImageProjection
Computes the average (or other statistic) for each image row or column and then merges the obtained results into a profile.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
C++
C#
public static void ImageProjection ( FilNet.Image inImage, NullableRef<FilNet.Region> inRoi, FilNet.ProjectionDirection inProjectionDirection, FilNet.ProjectionMode inProjectionMode, FilNet.Profile outProfile )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inImage | FilNet.Image | Monochromatic image. | ||
![]() | inRoi | FilNet.NullableRef<FilNet.Region> | Range of pixels to be processed. Default value: ftl::NIL. | ||
![]() | inProjectionDirection | FilNet.ProjectionDirection | Combine pixel values for image rows (horizontal) or columns (vertical). | ||
![]() | inProjectionMode | FilNet.ProjectionMode | Sum | Determines how the pixel values are combined. Default value: Sum. | |
![]() | outProfile | FilNet.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
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. |