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
Input value inImage Image Monochromatic image
Input value inRoi Region | None None Range of pixels to be processed
Input value inProjectionDirection ProjectionDirection ProjectionDirection.Horizontal Combine pixel values for image rows (horizontal) or columns (vertical)
Input value inProjectionMode ProjectionMode ProjectionMode.Sum Determines how the pixel values are combined
Output value outProfile Profile Output profile

Hardware Acceleration

This operation supports automatic parallelization for multicore and multiprocessor systems.