#include <vtkImageButterworthLowPass.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. vtkImageButterworthLowPass the high frequency components are attenuated. Input and output are in doubles, with two components (complex numbers). out(i, j) = (1 + pow(CutOff/Freq(i,j), 2*Order));
Definition at line 39 of file vtkImageButterworthLowPass.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 () |
virtual void | SetOrder (int) |
virtual int | GetOrder () |
Static Public Member Functions | |
static vtkImageButterworthLowPass * | New () |
static int | IsTypeOf (const char *type) |
static vtkImageButterworthLowPass * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkImageButterworthLowPass () | |
~vtkImageButterworthLowPass () | |
void | ThreadedRequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, vtkImageData ***inData, vtkImageData **outData, int outExt[6], int id) |
Protected Attributes | |
int | Order |
double | CutOff [3] |
Reimplemented from vtkThreadedImageAlgorithm.
Definition at line 43 of file vtkImageButterworthLowPass.h.
vtkImageButterworthLowPass::vtkImageButterworthLowPass | ( | ) | [protected] |
vtkImageButterworthLowPass::~vtkImageButterworthLowPass | ( | ) | [inline, protected] |
Definition at line 70 of file vtkImageButterworthLowPass.h.
static vtkImageButterworthLowPass* vtkImageButterworthLowPass::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkAlgorithm.
virtual const char* vtkImageButterworthLowPass::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkThreadedImageAlgorithm.
static int vtkImageButterworthLowPass::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 vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkThreadedImageAlgorithm.
virtual int vtkImageButterworthLowPass::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 vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkThreadedImageAlgorithm.
static vtkImageButterworthLowPass* vtkImageButterworthLowPass::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkThreadedImageAlgorithm.
void vtkImageButterworthLowPass::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 vtkImageButterworthLowPass::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 vtkImageButterworthLowPass::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 vtkImageButterworthLowPass::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 vtkImageButterworthLowPass.h.
void vtkImageButterworthLowPass::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 vtkImageButterworthLowPass::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 vtkImageButterworthLowPass::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* vtkImageButterworthLowPass::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 vtkImageButterworthLowPass::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 vtkImageButterworthLowPass::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 vtkImageButterworthLowPass::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 vtkImageButterworthLowPass.h.
double vtkImageButterworthLowPass::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 vtkImageButterworthLowPass.h.
double vtkImageButterworthLowPass::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 vtkImageButterworthLowPass.h.
virtual void vtkImageButterworthLowPass::SetOrder | ( | int | ) | [virtual] |
The order determines sharpness of the cutoff curve.
virtual int vtkImageButterworthLowPass::GetOrder | ( | ) | [virtual] |
The order determines sharpness of the cutoff curve.
void vtkImageButterworthLowPass::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.
int vtkImageButterworthLowPass::Order [protected] |
Definition at line 70 of file vtkImageButterworthLowPass.h.
double vtkImageButterworthLowPass::CutOff[3] [protected] |
Definition at line 73 of file vtkImageButterworthLowPass.h.