mutual_information: Calculates Mutual Information on nifti objects

Description Usage Arguments Value Examples

View source: R/mutual_information.R

Description

Images are converted nifti objects (from the oro.nifti package), an operation is performed using antsImageMutualInformation

Usage

1
mutual_information(image1, image2, ...)

Arguments

image1

Object of class nifti or character filename

image2

Object of class nifti or character filename

...

Additional arguments passed to antsImageMutualInformation

Value

Numeric

Examples

1
2
3
4
5
library(ANTsR)
library(extrantsr)
fi = getANTsRData("r16")
mi = getANTsRData("r64")
mival = mutual_information(fi, mi)

muschellij2/extrantsr documentation built on July 27, 2021, 7:41 a.m.