ImageMassCenter


Computes a point with coordinates equal to image mass center in brightness scale.

Syntax

C++
Python
 
def ImageMassCenter(
	inImage: Image,
	/,
	*,
	inRoi: Region | None = None
)
-> outMassCenter: Point2D

Parameters

Name Type Default Description
Input value inImage Image Input image
Input value inRoi Region | None None Range of pixels to be processed
Output value outMassCenter Point2D