Description Usage Arguments Value Note
View source: R/vtkTriangulate.r
create Isosurface from image
1 2 | vtkTriangulate(file, value = 1, IJK2RAS = diag(c(-1, -1, 1, 1)),
dicom = FALSE)
|
file |
3D-image file mha/nii.gz - depending of your system's VTK version |
value |
isovalue |
IJK2RAS |
4x4 IJK2RAS transform |
dicom |
logical: if TRUE, |
returns a triangular mesh of class mesh3d
the dicom functionality only works for unencapsulated raw dicom files. In case of errors, deencapsulate your files first. This can be done, for example, with the command line tool gdcmconv
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.