gen.test.volume: Generate test 3D volume of integers. The volume has an outer...

gen.test.volumeR Documentation

Generate test 3D volume of integers. The volume has an outer background area (intensity value 'bg') and an inner foreground areas (intensity value 200L).

Description

Generate test 3D volume of integers. The volume has an outer background area (intensity value 'bg') and an inner foreground areas (intensity value 200L).

Usage

gen.test.volume(vdim = c(256L, 256L, 256L), bg = NA)

Arguments

vdim

integer vector of length 3, the dimensions

bg

value to use for outer background voxels. Typically '0L' or 'NA'.

Value

a 3d array of integers

Note

This function exists for software testing purposes only, you should not use it in client code.


dfsp-spirit/fsbrain documentation built on Nov. 28, 2024, 10:29 a.m.