Learn R Programming

ANTsR (version 1.0)

iMathOps: iMathOps

Description

Examples, description and categorization of iMath operations.

Usage

data(iMathOps)

Arguments

Format

A data frame listing the following variables.

Operation

Name of operation

OperationType

Enumerated type of the operation (filter, etc)

Parameters

descriptive parameters

Example

working example code

Description

free text description

OutputDimensionalityChange

NA if not image, otherwise increment to output image dimensionality relative to input image

Examples

Run this code
# NOT RUN {
i<-antsImageRead( getANTsRData('r16') , 2 )
roiImg<-getMask(i)
data( "iMathOps", package = "ANTsR", envir = environment() ) #
for ( j in c(1:nrow(iMathOps)) )
  {
  op <- as.character( iMathOps$Operation[j] )
  k  <- eval( parse( text = toString( iMathOps$Example[j] ) ) )
  }
# }

Run the code above in your browser using DataLab