SIVIC API
0.9.26
|
#include <svkSincInterpolationFilter.h>
Public Member Functions | |
vtkTypeMacro (svkSincInterpolationFilter, svkImageAlgorithm) | |
void | SetOperateInPlace (bool operateInPlace) |
svkImageData * | GetOutput () |
svkImageData * | GetOutput (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) | |
svkImageData * | GetOutput () |
svkImageData * | GetOutput (int port) |
svkImageData * | GetImageDataInput (int port) |
Static Public Member Functions | |
static svkSincInterpolationFilter * | New () |
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) |
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.
|
protected |
|
protected |
|
protectedvirtual |
Referenced by svkSincInterpolationFilter::RequestUpdateExtent().
|
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 |
Referenced by svkOverlayView::svkOverlayView(), and svkOverlayView::UpdateSincInterpolation().
|
protectedvirtual |
Primary execution method, runs through each step of the algorithm.
References svkImageData::DeepCopy(), svkMriImageFFT::FORWARD, svkImageData::GetDcmHeader(), svkImageAlgorithm::GetImageDataInput(), svkMriImageFFT::GetOutput(), svkSincInterpolationFilter::GetOutput(), svkDcmHeader::GetStringSequenceItemElement(), svkMriImageFFT::New(), svkMriImageData::New(), svkMriZeroFill::New(), svkImageFourierCenter::New(), real, svkMriImageFFT::REVERSE, svkMriImageFFT::SetFFTMode(), svkMriZeroFill::SetOperateInPlace(), svkMriImageFFT::SetOperateInPlace(), svkMriZeroFill::SetOutputWholeExtent(), svkImageFourierCenter::SetReverseCenter(), svkImageData::ShallowCopy(), and svkImageData::SyncVTKImageDataToDcmHeader().
|
protectedvirtual |
References svkImageData::GetDcos(), and svkImageAlgorithm::GetImageDataInput().
|
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 | |||
) |