vtkImageSliceGradient Class Reference

#include <vtkImageSliceGradient.h>

Inheritance diagram for vtkImageSliceGradient:

Inheritance graph
[legend]
Collaboration diagram for vtkImageSliceGradient:

Collaboration graph
[legend]
List of all members.

Detailed Description

Simple filter for calculating the slice gradient.

This is a simple image-image filter that calculates the MRI slice gradient across a phase unwrapped image (the output of vtkImagePRELUDE for instance). The number of slices per volume for a multi-echo sequence may be specified. Optionally, the echo times may be supplied as well as the system precession frequency so that the final output units are in parts per million per units of spacing. If the echo times are not supplied then the final output will be in radians per units of spacing. If the precession frequency is not supplied, but the echo times are supplied then the final output will be Hz (assuming echo times in seconds) per units of spacing. Finally, the spacing may scaled using SetSpacingScaleFactor. WARNING: It is assumed that user understands the units of the parameters being supplied and uses this class accordingly.

See also:
vtkSimpleImageToImageFilter

Definition at line 54 of file vtkImageSliceGradient.h.

Public Member Functions

 vtkTypeRevisionMacro (vtkImageSliceGradient, vtkSimpleImageToImageFilter)
void SetEchoTimes (double *time, int num)
double * GetEchoTimes (int &num)
virtual void SetSpacingScaleFactor (double)
virtual double GetSpacingScaleFactor ()
virtual void SetPrecessionFrequency (double)
virtual double GetPrecessionFrequency ()

Static Public Member Functions

static vtkImageSliceGradientNew ()

Protected Member Functions

 vtkImageSliceGradient ()
 ~vtkImageSliceGradient ()
virtual void SimpleExecute (vtkImageData *input, vtkImageData *output)


Constructor & Destructor Documentation

vtkImageSliceGradient::vtkImageSliceGradient (  )  [protected]

vtkImageSliceGradient::~vtkImageSliceGradient (  )  [protected]


Member Function Documentation

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

Reimplemented from vtkAlgorithm.

vtkImageSliceGradient::vtkTypeRevisionMacro ( vtkImageSliceGradient  ,
vtkSimpleImageToImageFilter   
)

void vtkImageSliceGradient::SetEchoTimes ( double *  time,
int  num 
)

Set the echo times.

double* vtkImageSliceGradient::GetEchoTimes ( int &  num  ) 

Get the echo times.

virtual void vtkImageSliceGradient::SetSpacingScaleFactor ( double   )  [virtual]

Set/Get the spacing scale factor (default is 1.0).

virtual double vtkImageSliceGradient::GetSpacingScaleFactor (  )  [virtual]

Set/Get the spacing scale factor (default is 1.0).

virtual void vtkImageSliceGradient::SetPrecessionFrequency ( double   )  [virtual]

Set/Get the precession frequency (default is 0).

virtual double vtkImageSliceGradient::GetPrecessionFrequency (  )  [virtual]

Set/Get the precession frequency (default is 0).

virtual void vtkImageSliceGradient::SimpleExecute ( vtkImageData input,
vtkImageData output 
) [protected, virtual]

Implements vtkSimpleImageToImageFilter.


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