43 #ifndef SVK_MRS_AUTO_PHASE_H
44 #define SVK_MRS_AUTO_PHASE_H
48 #include <itkPowellOptimizer.h>
49 #include <itkParticleSwarmOptimizer.h>
51 #include <vtkObject.h>
52 #include <vtkObjectFactory.h>
53 #include <vtkInformation.h>
57 #include <vtkStreamingDemandDrivenPipeline.h>
90 UNDEFINED_PHASE_MODEL = 0,
93 MAX_PEAK_HT_ONE_PEAK_0 = 3,
106 void OnlyUseSelectionBox();
117 virtual int RequestInformation(
118 vtkInformation* request,
119 vtkInformationVector** inputVector,
120 vtkInformationVector* outputVector
123 virtual int RequestData(
124 vtkInformation* request,
125 vtkInformationVector** inputVector,
126 vtkInformationVector* outputVector
129 int SVKRequestDataPreExec(
130 vtkInformation* request,
131 vtkInformationVector** inputVector,
132 vtkInformationVector* outputVector
134 int SVKRequestDataPostExec(
135 vtkInformation* request,
136 vtkInformationVector** inputVector,
137 vtkInformationVector* outputVector
140 virtual void ThreadedRequestData(
141 vtkInformation* request,
142 vtkInformationVector** inputVector,
143 vtkInformationVector* outputVector,
144 vtkImageData*** inData,
145 vtkImageData** outData,
150 virtual void ValidateInput();
153 virtual int FillInputPortInformation(
int vtkNotUsed(port), vtkInformation* info );
154 virtual int FillOutputPortInformation(
int vtkNotUsed(port), vtkInformation* info );
157 virtual void UpdateProvenance();
159 void AutoPhaseExecute(
int* outExt,
int id);
160 virtual void AutoPhaseSpectrum(
int cellID );
161 virtual void FitPhase(
int cellID ) = 0;
162 virtual void PrePhaseSetup() = 0;
163 virtual void PostPhaseCleanup() = 0;
164 void SyncPointsFromCells();
165 virtual void SetMapSeriesDescription( );
172 virtual void InitOptimizer(
int cellID, itk::ParticleSwarmOptimizer::Pointer itkOptimizer ) = 0;
174 virtual void InitOptimizer(
int cellID, itk::PowellOptimizer::Pointer itkOptimizer ) = 0;
191 #endif //SVK_MRS_AUTO_PHASE_H
string seriesDescription
Definition: svkMRSAutoPhase.h:182
Definition: svkMRSAutoPhase.h:77
bool isSpectralFFTRequired
Definition: svkMRSAutoPhase.h:181
bool onlyUseSelectionBox
Definition: svkMRSAutoPhase.h:179
Definition: svkThreadedImageAlgorithm.h:71
short * selectionBoxMask
Definition: svkMRSAutoPhase.h:180
vtkDataArray * mapArrayZeroOrderPhase
Definition: svkMRSAutoPhase.h:183
static int * progress
Definition: svkMRSAutoPhase.h:168
Definition: svkImageData.h:107
PhasingModel
Definition: svkMRSAutoPhase.h:89
int numTimePoints
Definition: svkMRSAutoPhase.h:177
svkMRSAutoPhase::PhasingModel phaseModelType
Definition: svkMRSAutoPhase.h:178