Learn R Programming

WhiteStripe (version 2.4.3)

t1.voi.hist: Histogram of VOI of T1 template image

Description

Histogram of VOI of T1 template image

Usage

t1.voi.hist

Arguments

Format

A volume of interest histogram from a T1 image for smoothing

Examples

Run this code
# \donttest{
lib.loc = tempdir()
if (download_img_data(lib.loc = lib.loc)){
  t1 = oro.nifti::readNIfTI(system.file("T1Strip.nii.gz", package="WhiteStripe",
                             lib.loc = lib.loc))
  t1.voi = make_img_voi(t1)
  any(is.na(t1.voi))
  # FALSE
  t1.voi.hist = hist(t1.voi,
                     breaks=2000,
                     plot=FALSE)
}
# } 

Run the code above in your browser using DataLab