Description Usage Arguments Examples
Resample a CMTK deformation field
1 2 | resample_cmtk_dfield(infile, outfile = NULL, size = NULL,
voxdims = NULL, ...)
|
infile |
Input/output files |
outfile |
Input/output files |
size |
Numeric vector of scale factors (NA=> don't touch) or integer vector of pixel dimensions. |
voxdims |
Target voxel dimensions |
... |
Additional params passed to unu |
1 2 3 4 5 6 | ## Not run:
resample_cmtk_dfield("hemiBrain_JRC2018F_Warp_cmtk.nrrd", size=c(NA, rep(1/3, 3)))
# This currently fails because of https://github.com/jefferis/nat/issues/385
resample_cmtk_dfield("hemiBrain_JRC2018F_Warp_cmtk.nrrd", voxdims=c(NA, 2,2,2))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.