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


vtkImageFindPhaseLabels - This filter uses 6 voxel connected components to create labeled regions of phase based on the number of phase partitions set by the user. Optionally a mask may be used to create the phase labels. The complex phase image input must be VTK_FLOAT or VTK_DOUBLE and should be in the range of -pi to pi (i.e. atan2). The mask input must be VTK_UNSIGNED_CHAR and must have the same extents as the phase input. The output image will have the same extents as the inputs, but will be type VTK_INT. The hybrid 2D operation will find the labels in 2D, but will label them as if they are 3D (the default operation). The mask 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 vtkImageFindPhaseLabels.h.
| vtkImageFindPhaseLabels::vtkImageFindPhaseLabels | ( | ) | [protected] |
| vtkImageFindPhaseLabels::~vtkImageFindPhaseLabels | ( | ) | [inline, protected] |
Definition at line 116 of file vtkImageFindPhaseLabels.h.
| static vtkImageFindPhaseLabels* vtkImageFindPhaseLabels::New | ( | ) | [static] |
Reimplemented from vtkAlgorithm.
| vtkImageFindPhaseLabels::vtkTypeRevisionMacro | ( | vtkImageFindPhaseLabels | , | |
| vtkThreadedImageAlgorithm | ||||
| ) |
| void vtkImageFindPhaseLabels::PrintSelf | ( | ostream & | os, | |
| vtkIndent | indent | |||
| ) | [virtual] |
Reimplemented from vtkThreadedImageAlgorithm.
| void vtkImageFindPhaseLabels::SetPhaseInput | ( | vtkDataObject * | in | ) | [inline] |
Set the phase image.
Definition at line 71 of file vtkImageFindPhaseLabels.h.
References vtkImageAlgorithm::SetInput().
| void vtkImageFindPhaseLabels::SetMaskInput | ( | vtkDataObject * | in | ) | [inline] |
Set the optional image mask.
Definition at line 74 of file vtkImageFindPhaseLabels.h.
References vtkImageAlgorithm::SetInput().
| virtual void vtkImageFindPhaseLabels::SetNumPhaseSplit | ( | int | ) | [virtual] |
Number of phase partitions to use (default is 8).
| virtual int vtkImageFindPhaseLabels::GetNumPhaseSplit | ( | ) | [virtual] |
Number of phase partitions to use (default is 8).
| virtual void vtkImageFindPhaseLabels::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 vtkImageFindPhaseLabels::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 vtkImageFindPhaseLabels::SetLabelOperation | ( | int | ) | [virtual] |
Set/Get the label operation.
| virtual int vtkImageFindPhaseLabels::GetLabelOperation | ( | ) | [virtual] |
Set/Get the label operation.
| void vtkImageFindPhaseLabels::SetLabelOperationToHybrid2D | ( | ) | [inline] |
Set/Get the label operation.
Definition at line 95 of file vtkImageFindPhaseLabels.h.
References VTK_FIND_LABELS_HYBRID2D.
| void vtkImageFindPhaseLabels::SetLabelOperationTo2D | ( | ) | [inline] |
Set/Get the label operation.
Definition at line 96 of file vtkImageFindPhaseLabels.h.
References VTK_FIND_LABELS_2D.
| void vtkImageFindPhaseLabels::SetLabelOperationTo3D | ( | ) | [inline] |
Set/Get the label operation.
Definition at line 97 of file vtkImageFindPhaseLabels.h.
References VTK_FIND_LABELS_3D.
| virtual void vtkImageFindPhaseLabels::SetDiagnosticMessages | ( | int | ) | [virtual] |
Switch on diagnostic messages (off by default).
| virtual int vtkImageFindPhaseLabels::GetDiagnosticMessages | ( | ) | [virtual] |
Switch on diagnostic messages (off by default).
| virtual void vtkImageFindPhaseLabels::DiagnosticMessagesOn | ( | ) | [virtual] |
Switch on diagnostic messages (off by default).
| virtual void vtkImageFindPhaseLabels::DiagnosticMessagesOff | ( | ) | [virtual] |
Switch on diagnostic messages (off by default).
| virtual int vtkImageFindPhaseLabels::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 vtkImageFindPhaseLabels::RequestUpdateExtent | ( | vtkInformation * | , | |
| vtkInformationVector ** | , | |||
| vtkInformationVector * | ||||
| ) | [protected, virtual] |
Reimplemented from vtkImageAlgorithm.
| virtual int vtkImageFindPhaseLabels::RequestInformation | ( | vtkInformation * | , | |
| vtkInformationVector ** | , | |||
| vtkInformationVector * | ||||
| ) | [protected, virtual] |
Reimplemented from vtkImageAlgorithm.
| virtual void vtkImageFindPhaseLabels::ThreadedRequestData | ( | vtkInformation * | request, | |
| vtkInformationVector ** | inputVector, | |||
| vtkInformationVector * | outputVector, | |||
| vtkImageData *** | inData, | |||
| vtkImageData ** | outData, | |||
| int | extent[6], | |||
| int | threadId | |||
| ) | [protected, virtual] |
Reimplemented from vtkThreadedImageAlgorithm.
| virtual int vtkImageFindPhaseLabels::FillInputPortInformation | ( | int | port, | |
| vtkInformation * | info | |||
| ) | [protected, virtual] |
Reimplemented from vtkImageAlgorithm.
int vtkImageFindPhaseLabels::NumPhaseSplit [protected] |
Definition at line 116 of file vtkImageFindPhaseLabels.h.
int vtkImageFindPhaseLabels::NumberOfSlicesPerVolume [protected] |
Definition at line 120 of file vtkImageFindPhaseLabels.h.
int vtkImageFindPhaseLabels::LabelOperation [protected] |
Definition at line 122 of file vtkImageFindPhaseLabels.h.
int vtkImageFindPhaseLabels::DiagnosticMessages [protected] |
Definition at line 124 of file vtkImageFindPhaseLabels.h.
1.4.7