SIVIC API  0.9.26
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
svkImageLinearPhase Class Reference

#include <svkImageLinearPhase.h>

Inheritance diagram for svkImageLinearPhase:

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 svkImageLinearPhaseNew ()
 

Protected Member Functions

 svkImageLinearPhase ()
 
 ~svkImageLinearPhase ()
 

Detailed Description

This class will apply a linear phase shift to a vtkImageData object.

NOTES:

TODO:

Constructor & Destructor Documentation

svkImageLinearPhase ( )
protected
~svkImageLinearPhase ( )
protected

Member Function Documentation

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 svkImageLinearPhase* New ( )
static
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   
)

The documentation for this class was generated from the following files: