dv_get_volume: Get a mesh or voxel data for a given bodyid

Description Usage Arguments Value

Description

Get a mesh or voxel data for a given bodyid, from a DVID server. Meshes are made via alphashapes, using the function alphashape3d::ashape3d, which will work poorly if scale is too low, and slowly if scale is too high.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
dv_get_voxels(bodyid, scale = 4, df = FALSE, conn = NULL, ...)

dv_get_mesh(
  bodyid,
  scale = 4,
  conn = NULL,
  use.surface.voxels = TRUE,
  k = 10,
  ...
)

Arguments

bodyid

a body ID for a neuron or segmentation hosted on a DVID server

scale

Resolution of sparse volume starting with 0 where each level beyond 0 has 1/2 resolution of previous level. "coarse" will return the volume in block coordinates.

df

if TRUE, a data frame with meta data for the neuron is also retrieved, collected by dv_get_annotations, as well as the voxel size used

conn

optional DVID connection object (see dv_conn)

...

Additional arguments passed to dv_fetch

use.surface.voxels

if TRUE, surface voxels as estimated as points that do not have at least k other points within 2*voxelsize of them

k

see use.surface.voxels

Value

a mesh3


jefferis/drvid documentation built on April 27, 2021, 2:42 p.m.