View source: R/vtkImageBlend.r
Resample an image and write to file.
1 | vtkImageResize(image, outname, spacing = c(1, 1, 1), interpolate = 2)
|
image |
character: path to image file |
outname |
character: path to write resampled image to. |
spacing |
integer vector: spacing of resampled image. |
interpolate |
integer: 0=no interpolation, 1=linear,2=bicubic. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.