generate.ct.contours: Generate a complete phantom (CT + contours)

View source: R/phantom-functions.R

generate.ct.contoursR Documentation

Generate a complete phantom (CT + contours)

Description

It generates a CT and assocuated contours, via the definition of box-shaped volumes.

Usage

generate.ct.contours(CT.df, contours.df, deltaX, deltaY, deltaZ,
  name = "waterbox", tissue = "R3PIDEd0.2v0+MKM")

Arguments

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)

Details

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.

See Also

Other Phantoms: generate.contours, generate.ct


planit-group/Rplanit documentation built on Dec. 5, 2022, 11:10 p.m.