mritc (version 0.5-1)

plot.mritc: Plot Method for Class "mritc"

Description

Visualize MRI tissue classification results.

Usage

# S3 method for mritc
plot(x, ...)

Arguments

x

an object of class "mritc"

...

any additional arguments for function slices3d.

Value

NULL

Details

Allocate a voxel to the tissue type with the highest probability and then use slices3d to show the result.

See Also

slices3d

Examples

Run this code
# NOT RUN {
  T1 <- readMRI(system.file("extdata/t1.rawb.gz", package="mritc"),
                c(91,109,91), format="rawb.gz")
  mask <-readMRI(system.file("extdata/mask.rawb.gz", package="mritc"),
                 c(91,109,91), format="rawb.gz")
  tc.icm <- mritc(T1, mask, method="ICM")
  plot(tc.icm)
# }

Run the code above in your browser using DataLab