Get Center of Mass

Node Icon

Get center of mass of an input image. The center of mass is the center coordinates of the image weighted by the image intensity distribution. It is analogous to the center of mass of a physical object, but here the mass is represented by the voxel values.

Inputs

Input

Input image.

Type: Mask, Image, List, Required, Single

Outputs

Position

Center of mass coordinates [mm].

Type: Numeric Array

Index

Center of mass voxel index.

Type: Numeric Array

Continuous Index

Center of mass continuous voxel index.

Type: Numeric Array

See also

Keywords: