Get Center
Get the position, index and continuous index of the center voxel of an input image or mask. For dimensions with an odd matrix size, the center voxel is unambiguous and the index and the continuous index are identical. For even matrix sizes, the index is rounded down to the lower value, and the index and continuous index will differ by 0.5.
Inputs
Input
Input image or mask.
Type: Mask, Image, List, Required, Single
Outputs
Position
Center coordinate of input in [mm].
Type: Numeric Array
Index
Voxel index of center position. This is an integer value.
Type: Numeric Array
Continuous Index
Continuous voxel index of the center position. This is a decimal value.
Type: Numeric Array
See also
Keywords:
Copyright © 2023, Hero Imaging AB