generate.contours: Generate the contours

View source: R/phantom-functions.R

generate.contoursR Documentation

Generate the contours

Description

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.

Usage

generate.contours(contours.df, CT = NULL, z = NULL,
  tissue = "R3PIDEd0.2v0+MKM")

Arguments

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.

Value

a contours object

See Also

Other Phantoms: generate.ct.contours, generate.ct


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