Shape Statistics

Compute shape properties of input label map(s) or mask(s). The following properties are calculated:
| Property | Description |
|---|---|
| Elongation | The ratio of the largest principal moment to the smallest principal moment. Its value is greater or equal to 1. |
| Equivalent Ellipsoid Diameter | The diameters of the ellipsoid with the same size and ratio of all the axes as the object. The value depends on the image spacing. |
| Equivalent Spherical Perimeter | The equivalent perimeter of a hypersphere with the same volume as the object. The value depends on the image spacing. |
| Equivalent Spherical Radius | The radius of a sphere with the same volume as the region. |
| Feret Diameter | The diameter of the sphere that inclues the region. |
| Flatness | |
| Number of Pixels | Number of pixels in the region. |
| Number of Pixels on Border | Number of pixels adjacent to a pixel with value FALSE. |
| Perimeter | |
| Perimeter on Border | |
| Perimeter on Border Ratio | |
| Physical Size | The volume of the region in physical units. |
| Principal Axes | The principal axes of the region. |
| Principal Moments | The principal moments of the region. |
| Roundness | The roundness of the object. |
Inputs
Input
Input Image(s) or Mask(s)
Type: Image, Mask, List, Required, Single
Outputs
Output
Table containing the shape statistics of the input.
Type: Table
Centroid Index
A list containing the indices [i, j, k] of the center of mass for each mask or component.
Type: Numeric Array
Centroid Position
A list containing the positions [x, y, z] of the center of mass for each mask or component.
Type: Numeric Array
Centroid Seeds
A output labelmap or mask with a seed for each mask or labelmap. If the input is a mask, the seed output is TRUE at the center of mass of each mask and FALSE elsewhere. If the input is a labelmap, the center of mass of each labelmap is indicated by the value of that label.
Type: Image
See also
Keywords:
Copyright © 2025, Hero Imaging AB