MriImage
objects.createCombinedGraphics(images, modes, colourScales, axes = 1:3, sliceLoc = NULL, device = c("internal", "png"), alphaImages = NULL, prefix = "image", zoomFactor = 1, filter = "Mitchell", windowLimits = NULL, clearance = NULL, nColumns = NULL)
createProjectionGraphic(image, axis, device = c("internal", "png"), colourScale = 1, add = FALSE, file = NULL, zoomFactor = 1, filter = "Mitchell", windowLimits = NULL)
createSliceGraphic(image, x = NA, y = NA, z = NA, device = c("internal", "png"), colourScale = 1, add = FALSE, file = NULL, zoomFactor = 1, filter = "Mitchell", windowLimits = NULL)
createContactSheetGraphic(image, axis, device = c("internal", "png"), colourScale = 1, add = FALSE, file = NULL, zoomFactor = 1, filter = "Mitchell", windowLimits = NULL, clearance = NULL, nColumns = NULL)
MriImage
objects.MriImage
object.images
, each element being "slice" or "projection" (or abbreviations), indicating which type of visualisation should be applied to each image.x
, y
and z
, except that a point in 3 dimensions is specified. Must not be NA
for each axis
requested.MriImage
objects to be used as transparency masks. Must be the same length as images
if not NULL
. NULL
values in the list indicate no mask.device
is "png".device
is "png".NULL
for limits matching the range of the image data. Passed as the zlim
argument to image
.newMriImageByTrimming
.NULL
, the function will aim for a square grid.device
is "internal".colours
); in this case the background will be black. This is useful for binary images. Thirdly and most flexibly, a list with two named elements can be given: colours
, a vector of colours representing the colour scale, perhaps created using rgb
; and background
, a single colour representing the background. NB: When the device
option is set to "png", ImageMagick is required by these functions.
image
, colours
, rgb