#include <vtkImageIdealLowPass.h>
This filter only works on an image after it has been converted to frequency domain by a vtkImageFFT filter. A vtkImageRFFT filter can be used to convert the output back into the spatial domain. vtkImageIdealLowPass just sets a portion of the image to zero. The result is an image with a lot of ringing. Input and Output must be doubles. Dimensionality is set when the axes are set. Defaults to 2D on X and Y axes.
Definition at line 39 of file vtkImageIdealLowPass.h.
Public Types | |
typedef vtkThreadedImageAlgorithm | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | SetCutOff (double, double, double) |
virtual void | SetCutOff (double[3]) |
void | SetCutOff (double v) |
void | SetXCutOff (double v) |
void | SetYCutOff (double v) |
void | SetZCutOff (double v) |
virtual double * | GetCutOff () |
virtual void | GetCutOff (double &, double &, double &) |
virtual void | GetCutOff (double[3]) |
double | GetXCutOff () |
double | GetYCutOff () |
double | GetZCutOff () |
Static Public Member Functions | |
static vtkImageIdealLowPass * | New () |
static int | IsTypeOf (const char *type) |
static vtkImageIdealLowPass * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkImageIdealLowPass () | |
~vtkImageIdealLowPass () | |
void | ThreadedRequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, vtkImageData ***inData, vtkImageData **outData, int outExt[6], int id) |
Protected Attributes | |
double | CutOff [3] |
vtkImageIdealLowPass::vtkImageIdealLowPass | ( | ) | [protected] |
vtkImageIdealLowPass::~vtkImageIdealLowPass | ( | ) | [inline, protected] |
Definition at line 63 of file vtkImageIdealLowPass.h.
static vtkImageIdealLowPass* vtkImageIdealLowPass::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkAlgorithm.
virtual const char* vtkImageIdealLowPass::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkThreadedImageAlgorithm.
static int vtkImageIdealLowPass::IsTypeOf | ( | const char * | name | ) | [static] |
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkThreadedImageAlgorithm.
virtual int vtkImageIdealLowPass::IsA | ( | const char * | name | ) | [virtual] |
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkThreadedImageAlgorithm.
static vtkImageIdealLowPass* vtkImageIdealLowPass::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkThreadedImageAlgorithm.
void vtkImageIdealLowPass::PrintSelf | ( | ostream & | os, | |
vtkIndent | indent | |||
) | [virtual] |
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from vtkThreadedImageAlgorithm.
virtual void vtkImageIdealLowPass::SetCutOff | ( | double | , | |
double | , | |||
double | ||||
) | [virtual] |
Set/Get the cutoff frequency for each axis. The values are specified in the order X, Y, Z, Time. Units: Cycles per world unit (as defined by the data spacing).
virtual void vtkImageIdealLowPass::SetCutOff | ( | double | [3] | ) | [virtual] |
Set/Get the cutoff frequency for each axis. The values are specified in the order X, Y, Z, Time. Units: Cycles per world unit (as defined by the data spacing).
void vtkImageIdealLowPass::SetCutOff | ( | double | v | ) | [inline] |
Set/Get the cutoff frequency for each axis. The values are specified in the order X, Y, Z, Time. Units: Cycles per world unit (as defined by the data spacing).
Definition at line 51 of file vtkImageIdealLowPass.h.
void vtkImageIdealLowPass::SetXCutOff | ( | double | v | ) |
Set/Get the cutoff frequency for each axis. The values are specified in the order X, Y, Z, Time. Units: Cycles per world unit (as defined by the data spacing).
void vtkImageIdealLowPass::SetYCutOff | ( | double | v | ) |
Set/Get the cutoff frequency for each axis. The values are specified in the order X, Y, Z, Time. Units: Cycles per world unit (as defined by the data spacing).
void vtkImageIdealLowPass::SetZCutOff | ( | double | v | ) |
Set/Get the cutoff frequency for each axis. The values are specified in the order X, Y, Z, Time. Units: Cycles per world unit (as defined by the data spacing).
virtual double* vtkImageIdealLowPass::GetCutOff | ( | ) | [virtual] |
Set/Get the cutoff frequency for each axis. The values are specified in the order X, Y, Z, Time. Units: Cycles per world unit (as defined by the data spacing).
virtual void vtkImageIdealLowPass::GetCutOff | ( | double & | , | |
double & | , | |||
double & | ||||
) | [virtual] |
Set/Get the cutoff frequency for each axis. The values are specified in the order X, Y, Z, Time. Units: Cycles per world unit (as defined by the data spacing).
virtual void vtkImageIdealLowPass::GetCutOff | ( | double | [3] | ) | [virtual] |
Set/Get the cutoff frequency for each axis. The values are specified in the order X, Y, Z, Time. Units: Cycles per world unit (as defined by the data spacing).
double vtkImageIdealLowPass::GetXCutOff | ( | ) | [inline] |
Set/Get the cutoff frequency for each axis. The values are specified in the order X, Y, Z, Time. Units: Cycles per world unit (as defined by the data spacing).
Definition at line 56 of file vtkImageIdealLowPass.h.
double vtkImageIdealLowPass::GetYCutOff | ( | ) | [inline] |
Set/Get the cutoff frequency for each axis. The values are specified in the order X, Y, Z, Time. Units: Cycles per world unit (as defined by the data spacing).
Definition at line 57 of file vtkImageIdealLowPass.h.
double vtkImageIdealLowPass::GetZCutOff | ( | ) | [inline] |
Set/Get the cutoff frequency for each axis. The values are specified in the order X, Y, Z, Time. Units: Cycles per world unit (as defined by the data spacing).
Definition at line 58 of file vtkImageIdealLowPass.h.
void vtkImageIdealLowPass::ThreadedRequestData | ( | vtkInformation * | request, | |
vtkInformationVector ** | inputVector, | |||
vtkInformationVector * | outputVector, | |||
vtkImageData *** | inData, | |||
vtkImageData ** | outData, | |||
int | extent[6], | |||
int | threadId | |||
) | [protected, virtual] |
If the subclass does not define an Execute method, then the task will be broken up, multiple threads will be spawned, and each thread will call this method. It is public so that the thread functions can call this method.
Reimplemented from vtkThreadedImageAlgorithm.
double vtkImageIdealLowPass::CutOff[3] [protected] |
Definition at line 63 of file vtkImageIdealLowPass.h.