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.


martin3141/spant documentation built on April 14, 2024, 4:15 a.m.