antsImage: An S4 class for an antsImage

antsImage-classR Documentation

An S4 class for an antsImage

Description

C++ type used to represent an ITK image pointed to by 'pointer'. the actual image is of C++ type 'itk::image< pixeltype , dimension >::Pointer'

Usage

## S4 method for signature 'antsImage'
show(object)

## S4 method for signature 'antsImage'
initialize(
  .Object,
  pixeltype = "float",
  dimension = 3,
  components = 1,
  isVector = FALSE,
  filename = ""
)

Arguments

object

input object to convert

.Object

input object to convert

pixeltype

usually float, can be other types unsigned char, int, double etc noting that short is not supported

dimension

usually 2 or 3 but can be 4

components

number of pixel components

isVector

logical indicator of the image is a vector

filename

character filename if the data was read in, otherwise ""

Slots

pixeltype

usually float, can be other types unsigned char, int, double etc noting that short is not supported

dimension

usually 2 or 3 but can be 4

components

number of pixel components

pointer

the memory location

isVector

logical indicator of the image is a vector

filename

character filename if the data was read in, otherwise ""

pixeltype

usually float, can be other types unsigned char, int, double etc noting that short is not supported

dimension

usually 2 or 3 but can be 4

components

number of pixel components

isVector

boolean

filename

character filename if the data was read in, otherwise ""


stnava/ANTsR documentation built on April 16, 2024, 12:17 a.m.