Learn R Programming

fslr (version 2.24.1)

fslentropy: Image Mean Entropy

Description

Estimates Mean Entropy of Image from FSL

Usage

fslentropy(img, nonzero = FALSE, verbose = TRUE, ts = FALSE)

Arguments

img

Object of class nifti, or path of file

nonzero

(logical) Should the statistic be taken over non-zero voxels

verbose

(logical) print out command before running

ts

(logical) is the series a timeseries (4D), invoking -t option

Value

Vector of unless ts option invoked, then matrix