vtkImageDPT Class Reference

#include <vtkImageDPT.h>

Inheritance diagram for vtkImageDPT:

Inheritance graph
[legend]
Collaboration diagram for vtkImageDPT:

Collaboration graph
[legend]
List of all members.

Detailed Description

The Discrete Pade Transform.

WARNING: This class is still experimental. I'm not sure if the Pade- Wynn Eta algorithm was implemented correctly, as I have no way to validate it. Feel free to do so if you have experience using this algorithm.

This is a discrete Pade approximant image-image filter. It performs a DPT over the entire image volume using the Pade-Wynn Eta algorithm. This filter is used in conjunction with vtkImageReducedFFT to produce an FFT with greater convergence. Specifically the input images must have square dimensions determined by the dimensionality. For 1D dimensionality this is not an issue. For 2D the x and y dimensions must be equal and for 3D the x, y, and z dimensions must all be equal. Also the DPT must work with dimensions of power 2. The inputs can have 1 or 2 components, but all of the inputs must have the same extents and scalar type.

Example: A 3D volume of 2^3=8 extents in each dimension. The DPT will then require 3+1=4 inputs. The first input must be the image before the FFT. The second image input must be the reduced FFT with length 2^1=2. The third input must be the reduced FFT with length 2^2=4. Finally, the fourth input must be the the reduced FFT with length 2^3=8, which is just the FFT of the image.

See also:
vtkImageReducedFFT

Definition at line 65 of file vtkImageDPT.h.

Public Member Functions

 vtkTypeRevisionMacro (vtkImageDPT, vtkImageMultipleInputFilter)
void PrintSelf (ostream &os, vtkIndent indent)
void DPT (vtkImageComplexNumber *eta0, vtkImageComplexNumber *out, int m)
void SetDimensionality (int dim)
virtual int GetDimensionality ()

Static Public Member Functions

static vtkImageDPTNew ()
static int isPowerOf2 (int size)
static int findPowerOf2 (int size)

Protected Member Functions

 vtkImageDPT ()
 ~vtkImageDPT ()
void ExecuteInformation (vtkImageData **inputs, vtkImageData *output)
void ExecuteInformation ()
void ThreadedExecute (vtkImageData **inDatas, vtkImageData *outData, int extent[6], int id)
void InitOutput (int outExt[6], vtkImageData *outData)

Protected Attributes

int Dimensionality


Constructor & Destructor Documentation

vtkImageDPT::vtkImageDPT (  )  [protected]

vtkImageDPT::~vtkImageDPT (  )  [inline, protected]

Definition at line 94 of file vtkImageDPT.h.


Member Function Documentation

static vtkImageDPT* vtkImageDPT::New (  )  [static]

Reimplemented from vtkAlgorithm.

vtkImageDPT::vtkTypeRevisionMacro ( vtkImageDPT  ,
vtkImageMultipleInputFilter   
)

void vtkImageDPT::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [virtual]

Reimplemented from vtkImageMultipleInputFilter.

static int vtkImageDPT::isPowerOf2 ( int  size  )  [inline, static]

Return 1 if size is a power of two or 0 otherwise.

Definition at line 73 of file vtkImageDPT.h.

static int vtkImageDPT::findPowerOf2 ( int  size  )  [static]

Return m such that 2^m >= size.

void vtkImageDPT::SetDimensionality ( int  dim  ) 

Dimensionality is the number of axes which are considered during execution. To process 2D images dimensionality would be set to 2.

virtual int vtkImageDPT::GetDimensionality (  )  [virtual]

Dimensionality is the number of axes which are considered during execution. To process 2D images dimensionality would be set to 2.

void vtkImageDPT::DPT ( vtkImageComplexNumber eta0,
vtkImageComplexNumber out,
int  m 
)

Given the first column of the eta array, compute the DPT and place the results in out. m specifies the number of values in the eta array.

void vtkImageDPT::ExecuteInformation ( vtkImageData **  inputs,
vtkImageData output 
) [protected, virtual]

Reimplemented from vtkImageMultipleInputFilter.

void vtkImageDPT::ExecuteInformation (  )  [inline, protected, virtual]

Reimplemented from vtkImageMultipleInputFilter.

Definition at line 100 of file vtkImageDPT.h.

References vtkImageMultipleInputFilter::ExecuteInformation().

void vtkImageDPT::ThreadedExecute ( vtkImageData **  inDatas,
vtkImageData outData,
int  extent[6],
int  id 
) [protected, virtual]

Reimplemented from vtkImageMultipleInputFilter.

void vtkImageDPT::InitOutput ( int  outExt[6],
vtkImageData outData 
) [protected]


Member Data Documentation

int vtkImageDPT::Dimensionality [protected]

Definition at line 94 of file vtkImageDPT.h.


The documentation for this class was generated from the following file:
Generated on Tue May 12 14:53:23 2009 for vtkCNMRRLibrary by  doxygen 1.4.7