# loading of toy-patient objects (decrease dxyz for better result)
step <- 4
patient <- toy.load.patient (modality = c("ct", "rtstruct"),
roi.name = "brain", dxyz = rep (step, 3))
CT <- patient$ct[[1]]
b <- bin.from.vol (CT, min = 0, max =200)
CT.restricted <- nesting.bin (CT, b, xyz.margin = rep (step, 3))
display.plane (bottom = CT.restricted, top = b, view.type = "sagi",
bottom.col = pal.RVV (1000),
bottom.breaks = seq (-1000, 1000, length.out = 1001),
bg = "#00ff00", interpolate = FALSE)
Run the code above in your browser using DataLab