Learn R Programming

WhiteStripe (version 2.4.3)

t2.voi.hist: Histogram of VOI of T2 template image

Description

Histogram of VOI of T2 template image

Usage

t2.voi.hist

Arguments

Format

A histogram volume of interest from a T2 image for smoothing

Examples

Run this code
if (FALSE) {
lib.loc = tempdir() 
if (download_img_data(lib.loc = lib.loc)){
t2 = readNIfTI(system.file("T2Strip.nii.gz", package="WhiteStripe",
lib.loc = lib.loc))
t2.voi = make_img_voi(t2)
any(is.na(t2.voi))
# FALSE 
t2.voi.hist = hist(t2.voi, 
breaks=2000, 
plot=FALSE)  
#save(t2.voi.hist, file="data/t2.voi.hist.rda", compress = TRUE,
# compression_level=9) 
}
} 

Run the code above in your browser using DataLab