mincConvertWorldToVoxel: World to Voxel

Description Usage Arguments Value

View source: R/minc_interface.R

Description

Convert coordinates in the volumes world space (a continuous coordinate space) to a discrete set of voxel coordinates

Usage

1
mincConvertWorldToVoxel(filename, v1, v2, v3, nearest_voxel = TRUE)

Arguments

filename

A path to a minc file

v1

First world coordinate

v2

Second world coordinate

v3

Third world coordinate

nearest_voxel

Logical whether to round the result to the nearest voxel

Value

a 3-component numeric vector of voxel coordinates


Mouse-Imaging-Centre/RMINC documentation built on Oct. 5, 2018, 9:23 a.m.