fast_dice_tab: Fast Dice Tabulation

View source: R/fast_dice.R

fast_dice_tabR Documentation

Fast Dice Tabulation

Description

Fast Dice Tabulation

Usage

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

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

neurobase documentation built on May 29, 2024, 2:17 a.m.