View source: R/vois-functions.R
read.contours | R Documentation |
Read the contours from a "*.contours" file format (PlanKIT format) and return a contours
dataframe.
read.contours(file.contours, file.CT = NULL, CT = NULL, z.CT = NULL)
file.contours |
the name of the contours file |
file.CT |
the name of the CT file. The CT file (in PlanKIT format) is needed to properly reconstruc the 3D coordinates of the contours (alternatively to CT and z.CT) |
CT |
the CT object (alternatively to file.CT and z.CT) |
z.CT |
a vector for the z coordinates of the slices of the reference CT (alternatively to file.CT and CT) |
A contours
dataframe consisting of:
id |
index of the contours |
polygon |
index of the polygon |
slice |
index of the slice |
x,y,z |
x,y,z coordinates |
contour |
contour (VOI) name |
tissue |
tissue+biological model name |
type |
contour type (target, OAR, etc.) |
Other R/W Contours: read.contours.dicom
,
write.contours
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.