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

View source: R/image_reg.R

get_voi_cogR 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.


spant documentation built on Oct. 23, 2023, 5:06 p.m.