You are here: Start » AVL.NET » AVL.ImageMassCenter(AvlNet.Image, AvlNet.Region, AvlNet.Point2D)
AVL.ImageMassCenter(AvlNet.Image, AvlNet.Region, AvlNet.Point2D)
Computes a point with coordinates equal to image mass center in brightness scale.
| Namespace: | AvlNet |
|---|---|
| Assembly: | AVL.NET.dll |
Syntax
public static void ImageMassCenter( AvlNet.Image inImage, AvlNet.Region inRoi, out AvlNet.Point2D outMassCenter )
Parameters
- inImage
- Type: AvlNet.Image
Input image - inRoi
- Type: AvlNet.Region
Range of pixels to be processed, or null. - outMassCenter
- Type: AvlNet.Point2D
Errors
| Error type | Description |
|---|---|
| DomainError | Empty region on input in ImageMassCenter. |
| DomainError | Black image on input in ImageMassCenter. |
