fast_dice_tab: Fast Dice Tabulation

Description Usage Arguments Value Examples

View source: R/fast_dice.R

Description

Fast Dice Tabulation

Usage

1
2
3
fast_dice_tab(x, y)

fast_dice(x, y, verbose = FALSE)

Arguments

x

A nifti image, filename, or niftiImage

y

A nifti image, filename, or niftiImage

verbose

A logical indicating output

Value

A table object

Examples

1
2
3
4
5
6
7
library(oro.nifti)
set.seed(20161007)
dims = rep(10, 3)
arr = array(rnorm(10*10*10), dim = dims)
nim = oro.nifti::nifti(arr) > -1
fast_dice_tab(nim, nim)
fast_dice(nim, nim) == 1

neuroconductor/neurobase documentation built on May 19, 2021, 5:24 a.m.