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


This filter must have 3 or greater inputs and produces an output with 5 components. The inputs must all have the same extents, they must have one scalar component, and the same scalar type. Each input is an echo from a multi-echo T2-weighted MRI sequence which will be used to calculate the T2 time in seconds. The output will have the same extents as the inputs, but will be type double. The first component of the output will be the T2 time in seconds, the second component will be the constant A as shown in the function below, and the fourth component will be the r-squared value from the curve fitting. The third and fifth components will vary depending on the type of T2 fitting selected. For VTK_TTWO_LINEAR and VTK_TTWO_NON_LINEAR the third component will be zero. For VTK_TTWO_NON_LINEAR_WITH_CONSTANT the third component will be the value C as shown below. For the VTK_TTWO_NON_LINEAR fittings 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_TTWO_LINEAR (Linear least squares): S = Ae^-(TE/T2)
VTK_TTWO_NON_LINEAR (Non-linear least squares using Levenberg-Marquardt): S = Ae^-(TE/T2)
VTK_TTWO_NON_LINEAR_WITH_CONSTANT (Non-linear least squares using Levenberg-Marquardt): S = Ae^-(TE/T2) + C
The echo times are set via the SetEchoTimes function. If VTK_TTWO_NON_LINEAR_WITH_CONSTANT is selected then no single echo time may appear more than once in the echo array. If SmartT2Filtering is set then the filter will set T2 times that are greater than or equal to the value specified by MaxT2Time to MaxT2Time, which is set to 10 seconds by default. If PerformR2Mapping is set to On then the T2 output will be the inverse of T2 or R2 in Hz (1/s).
Definition at line 92 of file vtkImageT2Map.h.
| vtkImageT2Map::vtkImageT2Map | ( | ) | [protected] |
| vtkImageT2Map::~vtkImageT2Map | ( | ) | [protected] |
| static vtkImageT2Map* vtkImageT2Map::New | ( | ) | [static] |
Reimplemented from vtkAlgorithm.
| vtkImageT2Map::vtkTypeRevisionMacro | ( | vtkImageT2Map | , | |
| vtkImageMultipleInputFilter | ||||
| ) |
| void vtkImageT2Map::PrintSelf | ( | ostream & | os, | |
| vtkIndent | indent | |||
| ) | [virtual] |
Reimplemented from vtkImageMultipleInputFilter.
| void vtkImageT2Map::SetEchoTimes | ( | vtkDoubleArray * | _arg | ) |
Set the echo times for the T2 map calculation.
| vtkDoubleArray* vtkImageT2Map::GetEchoTimes | ( | ) |
Get the echo times for the T2 map calculation.
| virtual void vtkImageT2Map::SetT2FitType | ( | int | ) | [virtual] |
Set/Get the T2 fitting type.
| virtual int vtkImageT2Map::GetT2FitType | ( | ) | [virtual] |
Set/Get the T2 fitting type.
| void vtkImageT2Map::SetT2FitTypeToLinear | ( | ) | [inline] |
Set/Get the T2 fitting type.
Definition at line 109 of file vtkImageT2Map.h.
References VTK_TTWO_LINEAR.
| void vtkImageT2Map::SetT2FitTypeToNonLinear | ( | ) |
Set/Get the T2 fitting type.
| void vtkImageT2Map::SetT2FitTypeToNonLinearWithConstant | ( | ) |
Set/Get the T2 fitting type.
| virtual void vtkImageT2Map::SetSmartT2Filtering | ( | int | ) | [virtual] |
Set/Get whether to use smart T2 filtering.
| virtual int vtkImageT2Map::GetSmartT2Filtering | ( | ) | [virtual] |
Set/Get whether to use smart T2 filtering.
| virtual void vtkImageT2Map::SmartT2FilteringOn | ( | ) | [virtual] |
Set/Get whether to use smart T2 filtering.
| virtual void vtkImageT2Map::SmartT2FilteringOff | ( | ) | [virtual] |
Set/Get whether to use smart T2 filtering.
| void vtkImageT2Map::SetMaxT2Time | ( | double | _arg | ) |
Set smart T2 filtering max T2 time.
| double vtkImageT2Map::GetMaxT2Time | ( | ) |
Get smart T2 filtering max T2 time.
| virtual void vtkImageT2Map::SetPerformR2Mapping | ( | int | ) | [virtual] |
Set/Get whether to perform R2 mapping.
| virtual int vtkImageT2Map::GetPerformR2Mapping | ( | ) | [virtual] |
Set/Get whether to perform R2 mapping.
| virtual void vtkImageT2Map::PerformR2MappingOn | ( | ) | [virtual] |
Set/Get whether to perform R2 mapping.
| virtual void vtkImageT2Map::PerformR2MappingOff | ( | ) | [virtual] |
Set/Get whether to perform R2 mapping.
| void vtkImageT2Map::ExecuteInformation | ( | vtkImageData ** | inputs, | |
| vtkImageData * | output | |||
| ) | [protected, virtual] |
Reimplemented from vtkImageMultipleInputFilter.
| void vtkImageT2Map::ExecuteInformation | ( | ) | [inline, protected, virtual] |
Reimplemented from vtkImageMultipleInputFilter.
Definition at line 141 of file vtkImageT2Map.h.
References vtkImageMultipleInputFilter::ExecuteInformation().
| void vtkImageT2Map::ThreadedExecute | ( | vtkImageData ** | inDatas, | |
| vtkImageData * | outData, | |||
| int | extent[6], | |||
| int | id | |||
| ) | [protected, virtual] |
Reimplemented from vtkImageMultipleInputFilter.
| void vtkImageT2Map::InitOutput | ( | int | outExt[6], | |
| vtkImageData * | outData | |||
| ) | [protected] |
vtkDoubleArray* vtkImageT2Map::EchoTimes [protected] |
Definition at line 148 of file vtkImageT2Map.h.
int vtkImageT2Map::T2FitType [protected] |
Definition at line 149 of file vtkImageT2Map.h.
int vtkImageT2Map::SmartT2Filtering [protected] |
Definition at line 150 of file vtkImageT2Map.h.
double vtkImageT2Map::MaxT2Time [protected] |
Definition at line 151 of file vtkImageT2Map.h.
int vtkImageT2Map::PerformR2Mapping [protected] |
Definition at line 152 of file vtkImageT2Map.h.
1.4.7