View source: R/phantom-functions.R
generate.ct.contours | R Documentation |
It generates a CT and assocuated contours, via the definition of box-shaped volumes.
generate.ct.contours(CT.df, contours.df, deltaX, deltaY, deltaZ, name = "waterbox", tissue = "R3PIDEd0.2v0+MKM")
deltaX, |
deltaY, deltaZ are the dimensions of the voxels |
tissue |
the tissue name |
the |
dataframe in which the definition of the volumes for the CT is stored |
the |
dataframe in which the definition of the volumes for the contours is stored |
the |
name of the phantom. Files are automaticallywritten for the CT (<name>.3d) and the contours (<name>.contours) |
It uses the definition of volumes and VOIs stored in two dataframes:
CT.df: x_min, x_max, y_min, y_max, z_min, z_max, HU, voi.
contours.df: x_min, x_max, y_min, y_max, z_min, z_max, voi.
It is possible to use directly the same CT.df for the definition of the volumes of the contours (contours.df).
CT and contours are directly written in two files with names specfied by name
.
Other Phantoms: generate.contours
,
generate.ct
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.