50% off: Unlimited data and AI learning.
State of Data and AI Literacy Report 2025

spant (version 1.14.0)

get_voi_cog: Calculate the centre of gravity for an image containing 0 and 1's.

Description

Calculate the centre of gravity for an image containing 0 and 1's.

Usage

get_voi_cog(voi)

Arguments

voi

nifti object.

Value

triplet of x,y,z coordinates.