Description Usage Arguments Value Examples
Resamples an antsImage
or
nifti
object
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 | resample_image(
img,
parameters,
parameter_type = c("mm", "voxels"),
interpolator = c("nearestneighbor", "linear", "gaussian", "windowedsinc", "bspline"),
...
)
## S4 method for signature 'character'
resample_image(
img,
parameters,
parameter_type = c("mm", "voxels"),
interpolator = c("nearestneighbor", "linear", "gaussian", "windowedsinc", "bspline"),
...
)
## S4 method for signature 'nifti'
resample_image(
img,
parameters,
parameter_type = c("mm", "voxels"),
interpolator = c("nearestneighbor", "linear", "gaussian", "windowedsinc", "bspline"),
...
)
## S4 method for signature 'antsImage'
resample_image(
img,
parameters,
parameter_type = c("mm", "voxels"),
interpolator = c("nearestneighbor", "linear", "gaussian", "windowedsinc", "bspline"),
...
)
.resample_image(
img,
parameters,
parameter_type = c("mm", "voxels"),
interpolator = c("nearestneighbor", "linear", "gaussian", "windowedsinc", "bspline")
)
|
img |
character path of image or an object of class nifti, or antsImage |
parameters |
parameters
to pass as |
parameter_type |
Are the parameters in units of voxels or millimeters (mm) |
interpolator |
what type of interpolation should be done |
... |
not currently used |
An antsImage
or nifti
depending on
input
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.