View source: R/phantom-functions.R
generate.contours | R Documentation |
It generates a contours object from the definition of the VOIs. The VOIs are box-shaped an are defined in a data.frame with columns: x_min, x_max, y_min, y_max, z_min, z_max, voi. Each row correspond to a VOI. It needs, to identify the slices (axial slices), a reference CT. Alternatively the z vector can be used directly. Optionally a tissue name can be supplied. Note: if a box-shaped voulume is defined inside another one and has the same name (voi tag) of the latter, then the resulting volume will be a box with an hole inside.
generate.contours(contours.df, CT = NULL, z = NULL, tissue = "R3PIDEd0.2v0+MKM")
contours.df |
the dataframe in which the definition of the volumes is stored. |
CT |
a CT object. |
z |
a vector that specifies the z of the axial planes. |
tissue |
the tissue name. |
a contours object
Other Phantoms: generate.ct.contours
,
generate.ct
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.