Stack2coords: Binarised stack to coordinates

View source: R/Stack2coords.R

Stack2coordsR Documentation

Binarised stack to coordinates

Description

Convert a binarised image stack into a 3D point cloud.

Usage

Stack2coords(Stack)

Arguments

Stack

an image stack object

Details

Stack2coords convert a binarised image stack into a 3D point cloud, assuming the bone material has pixel value 1.

Value

A matrix of dimension Nx3 (N = number of bone voxels).

Author(s)

Alessio Veneziano


AlessioVeneziano/indianaBones documentation built on Nov. 29, 2022, 12:21 a.m.