|
SIVIC API
0.9.26
|
#include <svkImageLinearPhase.h>
Public Member Functions | |
| vtkTypeMacro (svkImageLinearPhase, vtkImageFourierFilter) | |
| void | SetShiftWindow (double shiftWindow[3]) |
| void | ExecuteLinearPhase (vtkImageComplex *in, vtkImageComplex *out, int N, vtkImageComplex *phaseArray) |
| void | CreatePhaseArray (int N, vtkImageComplex *phaseArray) |
| int | IterativeRequestInformation (vtkInformation *vtkNotUsed(input), vtkInformation *output) |
Static Public Member Functions | |
| static svkImageLinearPhase * | New () |
Protected Member Functions | |
| svkImageLinearPhase () | |
| ~svkImageLinearPhase () | |
This class will apply a linear phase shift to a vtkImageData object.
NOTES:
TODO:
|
protected |
|
protected |
| void CreatePhaseArray | ( | int | N, |
| vtkImageComplex * | phaseArray | ||
| ) |
This method takes an array of N, vtkImageComplex values, where vtkImageComplex is a struct with a double real and double imaginary component representing a single complex value. The function applies a linear phase correction to the values with pivot given by the origin (middle index of array) and linear factor that increments by 2*pi/N. An additional phase shift may be applied (e.g. for voxel shifting origin. On output the vtkImageComplex variable phaseArray contains the phase factors to be applied to each point.
References svkSpecUtils::CreateLinearPhaseShiftArray().
| void ExecuteLinearPhase | ( | vtkImageComplex * | in, |
| vtkImageComplex * | out, | ||
| int | N, | ||
| vtkImageComplex * | phaseArray | ||
| ) |
Applies a first order phase correction to the in data. The array of phase corrections is calcuated by CreatePhaseArray() method.
| int IterativeRequestInformation | ( | vtkInformation * | vtkNotUsedinput, |
| vtkInformation * | output | ||
| ) |
|
static |
Referenced by svkMriZeroFill::RequestData(), and svkMrsImageFFT::RequestDataSpatial().
| void SetShiftWindow | ( | double | shiftWindow[3] | ) |
Set an additional phase shift for example to voxel shift data.
Referenced by svkMriZeroFill::RequestData(), and svkMrsImageFFT::RequestDataSpatial().
| vtkTypeMacro | ( | svkImageLinearPhase | , |
| vtkImageFourierFilter | |||
| ) |
1.8.5