You are here: Start » AVL.NET » Function Reference » Image » Image Features » AVL.ImageMassCenter
Computes a point with coordinates equal to image mass center in brightness scale.
| Namespace: | AvlNet |
|---|---|
| Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void ImageMassCenter ( AvlNet.Image inImage, out AvlNet.Point2D outMassCenter )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() | inImage | AvlNet.Image | Input image. | ||
![]() | outMassCenter | AvlNet.Point2D |
Errors
List of possible exceptions:
| Error type | Description |
|---|---|
| DomainError | Black image on input in ImageMassCenter. |
| DomainError | Empty region on input in ImageMassCenter. |
| DomainError | Region exceeds an input image in ImageMassCenter. |


