ImageProjection
Computes the average (or other statistic) for each image row or column and then merges the obtained results into a profile.
Syntax
C++
Python
def ImageProjection( inImage: Image, outProfile: Profile, /, *, inRoi: Region | None = None, inProjectionDirection: ProjectionDirection = ProjectionDirection.Horizontal, inProjectionMode: ProjectionMode = ProjectionMode.Sum ) -> None
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inImage | Image | Monochromatic image | |
![]() |
inRoi | Region | None | None | Range of pixels to be processed |
![]() |
inProjectionDirection | ProjectionDirection | ProjectionDirection.Horizontal | Combine pixel values for image rows (horizontal) or columns (vertical) |
![]() |
inProjectionMode | ProjectionMode | ProjectionMode.Sum | Determines how the pixel values are combined |
![]() |
outProfile | Profile | Output profile |
Hardware Acceleration
This operation supports automatic parallelization for multicore and multiprocessor systems.


