get_voi_cog {spant}R Documentation

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.


[Package spant version 2.20.0 Index]