plot.mritc: Plot Method for Class "mritc"

View source: R/plot.mritc.R

plot.mritcR Documentation

Plot Method for Class "mritc"

Description

Visualize MRI tissue classification results.

Usage

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

Arguments

x

an object of class "mritc"

...

any additional arguments for function slices3d.

Details

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

Value

NULL

See Also

slices3d

Examples

  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)

mritc documentation built on Feb. 16, 2023, 10:47 p.m.