bsimilarity: Dice coefficients and Jaccard indices

Description Usage Arguments Details Value

View source: R/bsimilarity.R

Description

Calculates Dice coefficients and Jaccard indices for a file pair.

Usage

1
bsimilarity(filename1, filename2, labelnametibble)

Arguments

filename1

One NIfTI-file

filename2

One NIfTI-file

labelnametibble

A label name tibble with correct format and unique columns. First column of the label name tibble should contain an integer label number and second column should contain a label name string. Label numbers and label names must be unique.

Details

Function is used to calculate Dice coefficients and Jaccard indices for a file pair. A file pair contains two segmented NIfTI -files which are generated from the same source.

Value

Dice coefficients and Jaccard indices for a supplied file pair. Only regions which are in the label name tibble will be included in the result.


yupingikub/IKUB documentation built on Dec. 23, 2021, 8:20 p.m.