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
svkSincInterpolationFilter Class Reference

#include <svkSincInterpolationFilter.h>

Inheritance diagram for svkSincInterpolationFilter:
svkImageAlgorithm

Public Member Functions

 vtkTypeMacro (svkSincInterpolationFilter, svkImageAlgorithm)
 
void SetOperateInPlace (bool operateInPlace)
 
svkImageDataGetOutput ()
 
svkImageDataGetOutput (int port)
 
void SetOutputWholeExtent (int extent[6])
 
void SetOutputWholeExtent (int minX, int maxX, int minY, int maxY, int minZ, int maxZ)
 
void GetOutputWholeExtent (int extent[6])
 
- Public Member Functions inherited from svkImageAlgorithm
 vtkTypeMacro (svkImageAlgorithm, vtkImageAlgorithm)
 
svkImageDataGetOutput ()
 
svkImageDataGetOutput (int port)
 
svkImageDataGetImageDataInput (int port)
 

Static Public Member Functions

static svkSincInterpolationFilterNew ()
 

Protected Member Functions

 svkSincInterpolationFilter ()
 
 ~svkSincInterpolationFilter ()
 
virtual int FillInputPortInformation (int port, vtkInformation *info)
 
virtual int RequestInformation (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
 
virtual int RequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
 
virtual int RequestUpdateExtent (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 
virtual void ComputeInputUpdateExtent (int inExt[6], int outExt[6], int wExt[6])
 
- Protected Member Functions inherited from svkImageAlgorithm
 svkImageAlgorithm ()
 
 ~svkImageAlgorithm ()
 
virtual int FillOutputPortInformation (int vtkNotUsed(port), vtkInformation *info)
 
virtual int FillInputPortInformation (int vtkNotUsed(port), vtkInformation *info)
 

Detailed Description

Applies a sinc interpolation to a given image. You must specify an output extent greater than the original image to get the interpolated result. The algorithm follows the following steps:

Run svkMriImageFFT on the input volume. Move k=0 to the center of the volume. Use svkMriZeroFill to pad the kspace volume. Move k=0 back to the origin. Run svkMriImageFFT to reverse the FFT.

Constructor & Destructor Documentation

Member Function Documentation

void ComputeInputUpdateExtent ( int  inExt[6],
int  outExt[6],
int  wExt[6] 
)
protectedvirtual
int FillInputPortInformation ( int  port,
vtkInformation *  info 
)
protectedvirtual

Defines the input type: svkMriImageData.

svkImageData * GetOutput ( )

This is only overriden to prevent it from being hidden. When you override a method you need to override every overloaded version.

Referenced by svkSincInterpolationFilter::RequestData(), and svkOverlayView::UpdateSincInterpolation().

svkImageData * GetOutput ( int  port)

We want to override this method so that we can return a pointer to the input in the case of an in place operation.

References svkImageAlgorithm::GetImageDataInput().

void GetOutputWholeExtent ( int  extent[6])
static svkSincInterpolationFilter* New ( )
static
int RequestData ( vtkInformation *  request,
vtkInformationVector **  inputVector,
vtkInformationVector *  outputVector 
)
protectedvirtual
int RequestInformation ( vtkInformation *  request,
vtkInformationVector **  inputVector,
vtkInformationVector *  outputVector 
)
protectedvirtual
int RequestUpdateExtent ( vtkInformation *  ,
vtkInformationVector **  ,
vtkInformationVector *   
)
protectedvirtual
void SetOperateInPlace ( bool  operateInPlace)

This determines if the input data is being operated on, or if a new dataset should be created.

void SetOutputWholeExtent ( int  extent[6])
void SetOutputWholeExtent ( int  minX,
int  maxX,
int  minY,
int  maxY,
int  minZ,
int  maxZ 
)
vtkTypeMacro ( svkSincInterpolationFilter  ,
svkImageAlgorithm   
)

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