43 #ifndef SVK_PHASE_SPEC_H
44 #define SVK_PHASE_SPEC_H
47 #include <vtkObject.h>
48 #include <vtkObjectFactory.h>
49 #include <vtkInformation.h>
50 #include <vtkStreamingDemandDrivenPipeline.h>
51 #include <vtkImageFourierFilter.h>
75 void SetPhase0(
float phase0 );
77 void SetLinearPhase(
float phase0 );
78 float GetLinearPhase();
79 void SetLinearPhasePivot(
int linearPhasePivot );
80 void SetUpdateExtent(
int* start,
int* end );
81 void SetChannel(
int channel);
82 void PhaseAllChannels();
83 static void ZeroOrderPhase(
float phi0,
float* cmplxPt );
84 static void ZeroOrderPhase(
float phi0, vtkFloatArray* spectrum );
85 static void FirstOrderPhase(
float phi1,
int pivotPoint, vtkFloatArray* spectrum );
86 static void FirstOrderPhase(
float phi0,
87 vtkImageComplex* linearPhaseArray,
88 vtkFloatArray* spectrum);
89 static void FirstOrderPhase(
float phi0,
92 vtkFloatArray* spectrum );
93 virtual void PrintSelf( ostream &os, vtkIndent indent );
101 virtual int FillInputPortInformation(
int port, vtkInformation* info);
105 virtual int RequestInformation(
106 vtkInformation* request,
107 vtkInformationVector** inputVector,
108 vtkInformationVector* outputVector
110 virtual int RequestData(
111 vtkInformation* request,
112 vtkInformationVector** inputVector,
113 vtkInformationVector* outputVector
123 float linearPhaseTarget;
127 int linearPhasePivot;
128 int linearPhasePivotTarget;
131 int ApplyGlobalPhase();
139 #endif //SVK_PHASE_SPEC_H
Definition: svkPhaseSpec.h:67
Definition: svkImageInPlaceFilter.h:69