#include <vtkImageSliceGradient.h>
Inheritance diagram for vtkImageSliceGradient:


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.
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 vtkImageSliceGradient * | New () |
Protected Member Functions | |
| vtkImageSliceGradient () | |
| ~vtkImageSliceGradient () | |
| virtual void | SimpleExecute (vtkImageData *input, vtkImageData *output) |
| vtkImageSliceGradient::vtkImageSliceGradient | ( | ) | [protected] |
| vtkImageSliceGradient::~vtkImageSliceGradient | ( | ) | [protected] |
| 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.
1.4.7