plot-methods.Rd
Visualization of objects of class "dtiData"
, "dtiIndices"
, "dtiTensor"
and class "dwiMixtensor"
# S4 method for dtiData
plot(x, y, slice=1, gradient=NULL, view= "axial", show=TRUE,
density=FALSE, xind=NULL, yind=NULL, zind=NULL, mar=par("mar"), mgp=par("mgp"), ...)
# S4 method for dtiTensor
plot(x, y, slice=1, view="axial", quant=0, minfa=NULL, contrast.enh=1,
what="fa", qrange=c(.01,.99), xind=NULL, yind=NULL, zind=NULL,
mar=par("mar"), mgp=par("mgp"), ...)
# S4 method for dwiMixtensor
plot(x, y, slice=1, view="axial", what="fa", minfa=NULL,
identify=FALSE, xind=NULL, yind=NULL, zind=NULL, mar=par("mar"), mgp=par("mgp"), ...)
# S4 method for dtiIndices
plot(x, y, slice=1, view= "axial", method=1, quant=0, minfa=NULL,
show=TRUE, identify=FALSE, density=FALSE, contrast.enh=1, what="fa",
xind=NULL, yind=NULL, zind=NULL, mar=par("mar"), mgp=par("mgp"), ...)
# S4 method for dwiFiber
plot(x, y, ...)
# S4 method for dkiIndices
plot(x, y, slice=1, what=c("md", "fa", "mk", "mk2",
"k1", "k2", "k3", "kaxial", "kradial", "fak"), xind=NULL, yind=NULL,
mar=par("mar"), mgp=par("mgp"), ...)
x | Object of class |
---|---|
y | Not used |
slice | Slice number |
view | Choose |
gradient | Index of data cube to plot. Defaults to the first S0 image. |
method | Method for color coding tensor indices. |
quant | If |
minfa | Display only information for voxel with |
show | Visualize information in a graphics device (for classes |
identify | Enable identification of coordinates by mouse actions, logical with default FALSE. Uses function |
density | Show density of S0(Sb)-values (for class |
contrast.enh | Enhance image contrast using |
what | In case of class |
mar | Graphical parameter for |
mgp | Graphical parameter for |
qrange | Cut image intensity to these quantiles to avoid that outliers determine the dynamic range of the image. |
xind | If provided restrict display to indices specified in |
yind | If provided restrict display to indices specified in |
zind | If provided restrict display to indices specified in |
... | currently not used |
Generic function: see plot
.
Returns a warning.
gradient
can be used to specify a specific data cube associated with the index of a gradient direction. For objects of class "dtiData"
images are produces that are scaled by the maximal observed image value. This guarantees that subsequently produced images are on a comparable grey scale. The resulting image of class "adimpro"
from package adimpro is returned.
Color coded anisotropy maps are produced depending on the specification in method
. method==1
, method==2
, method==4
and method==5
specify three different color schemes for directional FA-maps. method==6
uses colored FA maps based on scheme developed at Uni Muenster (M. Deppe, Germany). method==3
specifies visualization of dtiIndices using color coded shape parameters. If identify==FALSE
the resulting image of class "adimpro"
from package adimpro, otherwise a matrix with coordinates of identified voxel is returned.
The tensor itself, fractional anisotropy (FA), mean diffusivity (MD) and a color coded anisotropy map are provided. NULL
is returned.
Depending of what
images of FA (what="fa"
), number of mixture components (what="order"
), effective order (what="eorder"
) or maximum eigenvalues (what="ev"
). is returned.
Creates a density plot of fiber lengths. NULL
is returned.
Prelimanary function to plot a slice of diffusion kurtosis indices: Mean Kurtosis what="mk"
or what="mk2"
, mean diffusivity what="md"
, fractional anisotropy what="fa"
.
Karsten Tabelow tabelow@wias-berlin.de
J\"org Polzehl polzehl@wias-berlin.de
if (FALSE) demo(dti_art)