mutual_information: Calculates Mutual Information on nifti objects

View source: R/mutual_information.R

mutual_informationR Documentation

Calculates Mutual Information on nifti objects

Description

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

Usage

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

library(ANTsR)
library(extrantsr)
fi = getANTsRData("r16")
mi = getANTsRData("r64")
mival = mutual_information(fi, mi)

neuroconductor-devel/extrantsr documentation built on July 3, 2025, 10:57 p.m.