View source: R/vois-functions.R
read.contours.dicom | R Documentation |
Read the contours from a DICOM file and return a contours
data frame. The CT data is also mandatory
to identify the slice for each contour polygon. The CT data can be specified with one of the following:
folder.CT.dicom, CT or z.CT. z.CT has precendence to CT that has precendence to folder.CT.dicom.
read.contours.dicom(file.contours.dicom, folder.CT.dicom = NULL, CT = NULL, z.CT = NULL, tissue = "R3PIDEd0.2v0+MKM")
file.contours.dicom |
the name of the contours file |
folder.CT.dicom |
the name of the DICOM CT folder. The CT is needed to properly identify the slice for each contour polygon. |
CT |
the CT object (alternative to folder.CT.dicom and z.CT) |
z.CT |
a vector for the z coordinates of the slices of the reference CT (alternative to folder.CT.dicom 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.) |
colour |
the hex specification of the colour associated to the contour. |
Other R/W Contours: read.contours
,
write.contours
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.