SLIMMER
Public Member Functions | Public Attributes | Static Public Attributes
SimpleTFieldList< T, TD, TS > Class Template Reference

Class for holding a List of TFields with Associated Data. More...

#include <SimpleTFieldList.h>

Inheritance diagram for SimpleTFieldList< T, TD, TS >:
SimpleVTVec< SimpleTField< T, TS >, TS > SimpleBaseTVec< T, TS >

List of all members.

Public Member Functions

 SimpleTFieldList (const BasicHeader &im1, int numIm=2)
 Constructor from a Basic Header to define sampling.
 SimpleTFieldList (const SimpleTField< T, TS > &im1, const SimpleTField< T, TS > &im2)
 Simple Image Pair List Constructor.
 SimpleTFieldList (const int n=2)
 Default Constructor and variable length.
 SimpleTFieldList (const SimpleTFieldList< T, TS > &imL)
 Copy Constructor.
 ~SimpleTFieldList ()
 Destructor.
void ReSizeField (SimpleTField< T, TS > &image)
 Change the Size of all Images to Match a given Image.
void ReSizeList (unsigned int numIm)
 Change the Length of the List.
SimpleTField< T, TS > & operator[] (const TS &s)
 Return a specific Field in the list.
LinTransParam< float > & linTransParam (const TS &s)
 Return Linear Transformation Parameters for given Field.
SimpleTMat< float, 4, 4 > linTransMat (const unsigned int s)
 Return Linear Transformation Matrix for given Field.
void ApplyLinTrans (SimpleTFieldList< T > &imLout, int interpType=INTERP_L3, float padval=0.0)
 Apply Current Linear Transformations to Entire List of Images.
void ApplyLinTransA2B (SimpleTField< T > &imOut, int imB=0, int imA=1, int interpType=INTERP_L3, float padval=0.0)
 Apply Linear Transformations to Bring Image A into Coordinates of Image B.
TD & SubjVar (const TS &s)
bool SaveAll (char *basename)
template<>
const char _versionID []
template<>
const char _versionID []
template<>
const char _versionID []
template<>
const char _versionID []
template<>
const char _versionID []
template<>
const char _versionID []

Public Attributes

SimpleVTVec< LinTransParam
< float > > 
_linTrans
 Linear Transforms.
SimpleVTVec< TD > _subjVar
 Subject Variables.

Static Public Attributes

static const char _versionID []

Detailed Description

template<typename T, typename TD = float, typename TS = unsigned long int>
class SimpleTFieldList< T, TD, TS >

Class for holding a List of TFields with Associated Data.

Author:
Colin Studholme 1999-
Id:
SimpleTFieldList.h,v 1.9 2011/10/07 23:51:17 bicg Exp

Member Function Documentation

template<typename T , typename TD = float, typename TS = unsigned long int>
void SimpleTFieldList< T, TD, TS >::ApplyLinTrans ( SimpleTFieldList< T > &  imLout,
int  interpType = INTERP_L3,
float  padval = 0.0 
) [inline]

Apply Current Linear Transformations to Entire List of Images.

Check and Adjust sizes

template<typename T , typename TD = float, typename TS = unsigned long int>
void SimpleTFieldList< T, TD, TS >::ApplyLinTransA2B ( SimpleTField< T > &  imOut,
int  imB = 0,
int  imA = 1,
int  interpType = INTERP_L3,
float  padval = 0.0 
) [inline]

Apply Linear Transformations to Bring Image A into Coordinates of Image B.

Apply Transformation

 All Classes Functions Variables Typedefs