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)

muschellij2/extrantsr documentation built on June 3, 2024, 7:04 p.m.