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


vtkImageEstimatePhaseLinearRamps - This filter estimates linear ramps for each axis of a complex phase image. The phase input must be single component VTK_FLOAT or VTK_DOUBLE and be in the range of -pi to pi (i.e. using atan2). The output is 1D or 2D with 3 values in the first dimension; the linear phase estimate in each dimension. The second dimension is determined by the NumberOfSlicesPerVolume parameter. If this value is set, then the second dimension will equal the number of image volumes stored in the z dimension. The output type will be the same as the input. This filter may be used in conjunction with vtkImageAdjustPhaseLinearRamps to remove and restore linear phase ramps before and after calculating the unwrapped phase using vtkImageFindPhaseLabels and vtkImagePRELUDE. An optional mask may be supplied as a second input to estimate the linear ramps for the masked region only. The mask input type must be VTK_UNSIGNED_CHAR. It may be generated using vtkImageThresholdByPercentile, vtkImageConnectedComponents,and vtkImageAccumulate with the complex magnitude as input (essentially automatically find the largest connected component in the magnitude image).
This class uses portions of code from the FMRIB Software Library.
Definition at line 63 of file vtkImageEstimatePhaseLinearRamps.h.
| vtkImageEstimatePhaseLinearRamps::vtkImageEstimatePhaseLinearRamps | ( | ) | [protected] |
| vtkImageEstimatePhaseLinearRamps::~vtkImageEstimatePhaseLinearRamps | ( | ) | [inline, protected] |
Definition at line 109 of file vtkImageEstimatePhaseLinearRamps.h.
| static vtkImageEstimatePhaseLinearRamps* vtkImageEstimatePhaseLinearRamps::New | ( | ) | [static] |
Reimplemented from vtkAlgorithm.
| vtkImageEstimatePhaseLinearRamps::vtkTypeRevisionMacro | ( | vtkImageEstimatePhaseLinearRamps | , | |
| vtkThreadedImageAlgorithm | ||||
| ) |
| void vtkImageEstimatePhaseLinearRamps::PrintSelf | ( | ostream & | os, | |
| vtkIndent | indent | |||
| ) | [virtual] |
Reimplemented from vtkThreadedImageAlgorithm.
| void vtkImageEstimatePhaseLinearRamps::SetPhaseInput | ( | vtkDataObject * | in | ) | [inline] |
Set the phase image.
Definition at line 71 of file vtkImageEstimatePhaseLinearRamps.h.
References vtkImageAlgorithm::SetInput().
| void vtkImageEstimatePhaseLinearRamps::SetMaskInput | ( | vtkDataObject * | in | ) | [inline] |
Set the optional image mask.
Definition at line 74 of file vtkImageEstimatePhaseLinearRamps.h.
References vtkImageAlgorithm::SetInput().
| virtual void vtkImageEstimatePhaseLinearRamps::SetNumberOfSlicesPerVolume | ( | int | ) | [virtual] |
Number of slices per volume (default is undefined). If multiple volumes exist then, NumberOfThreads should be set such that the split extents are a multiple of this value.
| virtual int vtkImageEstimatePhaseLinearRamps::GetNumberOfSlicesPerVolume | ( | ) | [virtual] |
Number of slices per volume (default is undefined). If multiple volumes exist then, NumberOfThreads should be set such that the split extents are a multiple of this value.
| virtual void vtkImageEstimatePhaseLinearRamps::SetEstimate4D | ( | int | ) | [virtual] |
Switch on 4D estimation (off by default). If this is turned on, NumberOfSlicesPerVolume must be set.
| virtual int vtkImageEstimatePhaseLinearRamps::GetEstimate4D | ( | ) | [virtual] |
Switch on 4D estimation (off by default). If this is turned on, NumberOfSlicesPerVolume must be set.
| virtual void vtkImageEstimatePhaseLinearRamps::Estimate4DOn | ( | ) | [virtual] |
Switch on 4D estimation (off by default). If this is turned on, NumberOfSlicesPerVolume must be set.
| virtual void vtkImageEstimatePhaseLinearRamps::Estimate4DOff | ( | ) | [virtual] |
Switch on 4D estimation (off by default). If this is turned on, NumberOfSlicesPerVolume must be set.
| virtual void vtkImageEstimatePhaseLinearRamps::SetDiagnosticMessages | ( | int | ) | [virtual] |
Switch on diagnostic messages (off by default).
| virtual int vtkImageEstimatePhaseLinearRamps::GetDiagnosticMessages | ( | ) | [virtual] |
Switch on diagnostic messages (off by default).
| virtual void vtkImageEstimatePhaseLinearRamps::DiagnosticMessagesOn | ( | ) | [virtual] |
Switch on diagnostic messages (off by default).
| virtual void vtkImageEstimatePhaseLinearRamps::DiagnosticMessagesOff | ( | ) | [virtual] |
Switch on diagnostic messages (off by default).
| virtual int vtkImageEstimatePhaseLinearRamps::SplitExtent | ( | int | splitExt[6], | |
| int | startExt[6], | |||
| int | num, | |||
| int | total | |||
| ) | [virtual] |
Overriding this function to enable threaded execution on multiple volumes.
Reimplemented from vtkThreadedImageAlgorithm.
| virtual int vtkImageEstimatePhaseLinearRamps::RequestUpdateExtent | ( | vtkInformation * | , | |
| vtkInformationVector ** | , | |||
| vtkInformationVector * | ||||
| ) | [protected, virtual] |
Reimplemented from vtkImageAlgorithm.
| virtual int vtkImageEstimatePhaseLinearRamps::RequestInformation | ( | vtkInformation * | , | |
| vtkInformationVector ** | , | |||
| vtkInformationVector * | ||||
| ) | [protected, virtual] |
Reimplemented from vtkImageAlgorithm.
| virtual void vtkImageEstimatePhaseLinearRamps::ThreadedRequestData | ( | vtkInformation * | request, | |
| vtkInformationVector ** | inputVector, | |||
| vtkInformationVector * | outputVector, | |||
| vtkImageData *** | inData, | |||
| vtkImageData ** | outData, | |||
| int | extent[6], | |||
| int | threadId | |||
| ) | [protected, virtual] |
Reimplemented from vtkThreadedImageAlgorithm.
| virtual int vtkImageEstimatePhaseLinearRamps::FillInputPortInformation | ( | int | port, | |
| vtkInformation * | info | |||
| ) | [protected, virtual] |
Reimplemented from vtkImageAlgorithm.
int vtkImageEstimatePhaseLinearRamps::NumberOfSlicesPerVolume [protected] |
Definition at line 109 of file vtkImageEstimatePhaseLinearRamps.h.
int vtkImageEstimatePhaseLinearRamps::Estimate4D [protected] |
Definition at line 112 of file vtkImageEstimatePhaseLinearRamps.h.
int vtkImageEstimatePhaseLinearRamps::DiagnosticMessages [protected] |
Definition at line 113 of file vtkImageEstimatePhaseLinearRamps.h.
1.4.7