SIVIC API
0.9.26
|
#include <svkMRSZeroOrderPhase.h>
Public Member Functions | |
vtkTypeMacro (svkMRSZeroOrderPhase, svkMRSAutoPhase) | |
Public Member Functions inherited from svkMRSAutoPhase | |
vtkTypeMacro (svkMRSAutoPhase, svkThreadedImageAlgorithm) | |
void | OnlyUseSelectionBox () |
virtual svkImageData * | GetOutput (int port) |
Public Member Functions inherited from svkThreadedImageAlgorithm | |
vtkTypeMacro (svkThreadedImageAlgorithm, vtkThreadedImageAlgorithm) | |
svkImageData * | GetOutput () |
svkImageData * | GetImageDataInput (int port) |
Static Public Member Functions | |
static svkMRSZeroOrderPhase * | New () |
Protected Member Functions | |
svkMRSZeroOrderPhase () | |
~svkMRSZeroOrderPhase () | |
virtual void | ValidateInput () |
virtual void | FitPhase (int cellID) |
virtual void | PrePhaseSetup () |
virtual void | PostPhaseCleanup () |
int | GetLargestZeroOrderPhasePeak () |
int | RequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) |
Protected Member Functions inherited from svkMRSAutoPhase | |
svkMRSAutoPhase () | |
~svkMRSAutoPhase () | |
virtual int | RequestInformation (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) |
int | SVKRequestDataPreExec (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) |
int | SVKRequestDataPostExec (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) |
virtual void | ThreadedRequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, vtkImageData ***inData, vtkImageData **outData, int extent[6], int threadId) |
virtual int | FillInputPortInformation (int vtkNotUsed(port), vtkInformation *info) |
virtual int | FillOutputPortInformation (int vtkNotUsed(port), vtkInformation *info) |
void | ZeroData () |
virtual void | UpdateProvenance () |
void | AutoPhaseExecute (int *outExt, int id) |
virtual void | AutoPhaseSpectrum (int cellID) |
void | SyncPointsFromCells () |
virtual void | SetMapSeriesDescription () |
Protected Member Functions inherited from svkThreadedImageAlgorithm | |
svkThreadedImageAlgorithm () | |
~svkThreadedImageAlgorithm () | |
int | SplitExtent (int splitExt[6], int startExt[6], int num, int total) |
Additional Inherited Members | |
Public Types inherited from svkMRSAutoPhase | |
enum | PhasingModel { UNDEFINED_PHASE_MODEL = 0, FIRST_POINT_0 = 1, MAX_PEAK_HTS_0 = 2, MAX_PEAK_HT_ONE_PEAK_0 = 3, LAST_MODEL } |
Protected Attributes inherited from svkMRSAutoPhase | |
int | numTimePoints |
svkMRSAutoPhase::PhasingModel | phaseModelType |
bool | onlyUseSelectionBox |
short * | selectionBoxMask |
bool | isSpectralFFTRequired |
string | seriesDescription |
vtkDataArray * | mapArrayZeroOrderPhase |
Static Protected Attributes inherited from svkMRSAutoPhase | |
static int * | progress |
Algorithm for automatic zero order phase correction of MR spectra.
|
protected |
References svkMRSAutoPhase::seriesDescription.
|
protected |
|
protectedvirtual |
Implements svkMRSAutoPhase.
Reimplemented in svkMRSFirstOrderPhase.
References svkImageData::GetDcmHeader(), svkDcmHeader::GetDimensionIndexVector(), svkDcmHeader::GetDimensionVectorIndexFromCellID(), svkThreadedImageAlgorithm::GetImageDataInput(), svkDcmHeader::GetNumSpatialVoxels(), svkThreadedImageAlgorithm::GetOutput(), svkDcmHeader::GetSpatialCellIDFromDimensionVectorIndex(), svkMrsImageData::GetSpectrum(), loopVector, svkMRSAutoPhase::mapArrayZeroOrderPhase, and svkPhaseSpec::ZeroOrderPhase().
|
protected |
Return the peak with the largest amplitude Used if only phasing on 1 peak
References svkMRSPeakPick::GetAvRMSPeakHeight(), and svkMRSPeakPick::GetNumPeaks().
|
static |
|
protectedvirtual |
If a pre FFT was performed to get data in frequency domain, undo that here:
Implements svkMRSAutoPhase.
References svkMrsImageFFT::FORWARD, svkThreadedImageAlgorithm::GetImageDataInput(), svkMRSAutoPhase::isSpectralFFTRequired, svkMrsImageFFT::New(), svkMrsImageFFT::SetFFTDomain(), svkMrsImageFFT::SetFFTMode(), and svkMrsImageFFT::SPECTRAL.
|
protectedvirtual |
Make sure data is in frequency domain for zero order phasing
Implements svkMRSAutoPhase.
References svkImageData::GetDcmHeader(), svkThreadedImageAlgorithm::GetImageDataInput(), svkDcmHeader::GetStringValue(), svkMRSAutoPhase::isSpectralFFTRequired, svkMrsImageFFT::New(), svkMrsImageFFT::REVERSE, svkMrsImageFFT::SetFFTDomain(), svkMrsImageFFT::SetFFTMode(), and svkMrsImageFFT::SPECTRAL.
|
protectedvirtual |
Copy the Dcm Header and Provenance from the input to the output.
Reimplemented from svkMRSAutoPhase.
|
protectedvirtual |
Reimplemented from svkMRSAutoPhase.
vtkTypeMacro | ( | svkMRSZeroOrderPhase | , |
svkMRSAutoPhase | |||
) |