vtkImageT1Map Class Reference

#include <vtkImageT1Map.h>

Inheritance diagram for vtkImageT1Map:

Inheritance graph
[legend]
Collaboration diagram for vtkImageT1Map:

Collaboration graph
[legend]
List of all members.

Detailed Description

The T1 parameter map of an MRI multi-TR sequence.

This filter must have 3 or greater inputs and produces an output with 4 components. The inputs must all have the same extents, they must have one scalar component, and the same scalar type. Each input is an image that has been acquired at increasing TR's in order to calculate the T1 time. The output will have the same extents as the inputs, but will be type double. The first component of the output will be the T1 time in seconds, the second component will be the constant A as shown in the function below, and the third component will be the r-squared value from the curve fitting. The third and fourth components will vary depending on the type of T1 fitting selected. For the VTK_NON_LINEAR fitting the last component will be the error improvement from the non-linear fitting.

NOTE: The nonlinear fitting functions are only enabled if the levmar library is used. If the levmar library is used, then this file must be released under the GNU General Public License.

VTK_LINEAR_LEAST_SQUARES_SATURATION_RECOVERY (Linear least squares - assumes that the last image is A): S = A(1-e^-(TR/T1))

VTK_LINEAR_GRADIENT_ESTIMATION_SATURATION_RECOVERY (Linear least squares - estimates A using gradient estimation): S = A(1-e^-(TR/T1))

VTK_NON_LINEAR_SATURATION_RECOVERY (Non-linear least squares using Levenberg- Marquardt): S = A(1-e^-(TR/T1))

The repetition times are set via the SetRepetitionTimes function. If SmartT1Filtering is set to On then the filter will set T1 times that are greater than or equal to the value specified by MaxT1Time to MaxT1Time, which is set to 10 seconds by default. If PerformR1Mapping is set to On then the T1 output will be the inverse of T1 or R1 in Hz (1/s).

See also:
vtkImageMultipleInputFilter

Definition at line 91 of file vtkImageT1Map.h.

Public Member Functions

 vtkTypeRevisionMacro (vtkImageT1Map, vtkImageMultipleInputFilter)
void PrintSelf (ostream &os, vtkIndent indent)
void SetRepetitionTimes (vtkDoubleArray *_arg)
vtkDoubleArrayGetRepetitionTimes ()
void SetMaxT1Time (double _arg)
double GetMaxT1Time ()
virtual void SetT1FitType (int)
virtual int GetT1FitType ()
void SetT1FitTypeToLinearLeastSquaresSaturationRecovery ()
void SetT1FitTypeToLinearGradientEstimationSaturationRecovery ()
void SetT1FitTypeToNonLinearSaturationRecovery ()
virtual void SetSmartT1Filtering (int)
virtual int GetSmartT1Filtering ()
virtual void SmartT1FilteringOn ()
virtual void SmartT1FilteringOff ()
virtual void SetPerformR1Mapping (int)
virtual int GetPerformR1Mapping ()
virtual void PerformR1MappingOn ()
virtual void PerformR1MappingOff ()

Static Public Member Functions

static vtkImageT1MapNew ()

Protected Member Functions

 vtkImageT1Map ()
 ~vtkImageT1Map ()
void ExecuteInformation (vtkImageData **inputs, vtkImageData *output)
void ExecuteInformation ()
void ThreadedExecute (vtkImageData **inDatas, vtkImageData *outData, int extent[6], int id)
void InitOutput (int outExt[6], vtkImageData *outData)

Protected Attributes

vtkDoubleArrayRepetitionTimes
int T1FitType
int SmartT1Filtering
double MaxT1Time
int PerformR1Mapping


Constructor & Destructor Documentation

vtkImageT1Map::vtkImageT1Map (  )  [protected]

vtkImageT1Map::~vtkImageT1Map (  )  [protected]


Member Function Documentation

static vtkImageT1Map* vtkImageT1Map::New (  )  [static]

Reimplemented from vtkAlgorithm.

vtkImageT1Map::vtkTypeRevisionMacro ( vtkImageT1Map  ,
vtkImageMultipleInputFilter   
)

void vtkImageT1Map::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [virtual]

Reimplemented from vtkImageMultipleInputFilter.

void vtkImageT1Map::SetRepetitionTimes ( vtkDoubleArray _arg  ) 

Set the repetition times for the T1 map calculation.

vtkDoubleArray* vtkImageT1Map::GetRepetitionTimes (  ) 

Get the repetition times for the T1 map calculation.

virtual void vtkImageT1Map::SetT1FitType ( int   )  [virtual]

Set/Get the T1 fitting type.

virtual int vtkImageT1Map::GetT1FitType (  )  [virtual]

Set/Get the T1 fitting type.

void vtkImageT1Map::SetT1FitTypeToLinearLeastSquaresSaturationRecovery (  )  [inline]

Set/Get the T1 fitting type.

Definition at line 108 of file vtkImageT1Map.h.

References VTK_LINEAR_LEAST_SQUARES_SATURATION_RECOVERY.

void vtkImageT1Map::SetT1FitTypeToLinearGradientEstimationSaturationRecovery (  )  [inline]

Set/Get the T1 fitting type.

Definition at line 110 of file vtkImageT1Map.h.

References VTK_LINEAR_GRADIENT_ESTIMATION_SATURATION_RECOVERY.

void vtkImageT1Map::SetT1FitTypeToNonLinearSaturationRecovery (  ) 

Set/Get the T1 fitting type.

virtual void vtkImageT1Map::SetSmartT1Filtering ( int   )  [virtual]

Set/Get whether to use smart T1 filtering.

virtual int vtkImageT1Map::GetSmartT1Filtering (  )  [virtual]

Set/Get whether to use smart T1 filtering.

virtual void vtkImageT1Map::SmartT1FilteringOn (  )  [virtual]

Set/Get whether to use smart T1 filtering.

virtual void vtkImageT1Map::SmartT1FilteringOff (  )  [virtual]

Set/Get whether to use smart T1 filtering.

void vtkImageT1Map::SetMaxT1Time ( double  _arg  ) 

Set smart T1 filtering max T1 time.

double vtkImageT1Map::GetMaxT1Time (  ) 

Get smart T1 filtering max T1 time.

virtual void vtkImageT1Map::SetPerformR1Mapping ( int   )  [virtual]

Set/Get whether to perform R1 mapping.

virtual int vtkImageT1Map::GetPerformR1Mapping (  )  [virtual]

Set/Get whether to perform R1 mapping.

virtual void vtkImageT1Map::PerformR1MappingOn (  )  [virtual]

Set/Get whether to perform R1 mapping.

virtual void vtkImageT1Map::PerformR1MappingOff (  )  [virtual]

Set/Get whether to perform R1 mapping.

void vtkImageT1Map::ExecuteInformation ( vtkImageData **  inputs,
vtkImageData output 
) [protected, virtual]

Reimplemented from vtkImageMultipleInputFilter.

void vtkImageT1Map::ExecuteInformation (  )  [inline, protected, virtual]

Reimplemented from vtkImageMultipleInputFilter.

Definition at line 141 of file vtkImageT1Map.h.

References vtkImageMultipleInputFilter::ExecuteInformation().

void vtkImageT1Map::ThreadedExecute ( vtkImageData **  inDatas,
vtkImageData outData,
int  extent[6],
int  id 
) [protected, virtual]

Reimplemented from vtkImageMultipleInputFilter.

void vtkImageT1Map::InitOutput ( int  outExt[6],
vtkImageData outData 
) [protected]


Member Data Documentation

vtkDoubleArray* vtkImageT1Map::RepetitionTimes [protected]

Definition at line 148 of file vtkImageT1Map.h.

int vtkImageT1Map::T1FitType [protected]

Definition at line 149 of file vtkImageT1Map.h.

int vtkImageT1Map::SmartT1Filtering [protected]

Definition at line 150 of file vtkImageT1Map.h.

double vtkImageT1Map::MaxT1Time [protected]

Definition at line 151 of file vtkImageT1Map.h.

int vtkImageT1Map::PerformR1Mapping [protected]

Definition at line 152 of file vtkImageT1Map.h.


The documentation for this class was generated from the following file:
Generated on Tue May 12 14:53:40 2009 for vtkCNMRRLibrary by  doxygen 1.4.7