[vtkusers] using vtkbutterworthLowPass filter

cspl affable at hd2.dot.net.in
Wed May 7 08:17:07 EDT 2003


Dear All,
  

I used vtkbutterworthLowPass filter through VtkImageFFT.But I feel that I am getting only the FFT output.  I am not getting the ButterworthLowPass filter output.In my code, First I get the pixel data from an image and storing in some buffer.  After that we are importing the buffer using the "vtkImageImport". Giving the importer output to the "vtkImageFFT".Then giving output of the "vtkImageFFt" 
class to the "vtkImageButterworthLowPass" class.  Then the output of this class has given to the "vtkImageRFFT" as input.  This class output is given to the "vtkImageExporter" as input.
When I run this filter then the programing is closing itself by giving the error message.
Can any one please tell me what parameters and methods I have to use in "vtkButterworthLowPass" class.  Here I am producing my code. 
       
 vtkImageButterworthLowPass   *lowPass = ImageButterworthLowPass :: New();
 lowPass -> SetInput(fft -> GetOutput());
 lowPass -> SetOrder(3);
 lowPass -> SetXCutOff(0.02);
 lowPass -> SetYCutOff(0.02);
 lowPass -> ReleaseDataFlagOff();
 
 vtkImageRFFT *rfft = vtkImageRFFT::New();
 rfft->SetDimensionality  ( 2 );
 rfft->SetInput( lowPass->GetOutput() );

Expecting an early reply.
      Thanking you,
      Kiran kumar.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20030507/64d4298b/attachment.htm>


More information about the vtkusers mailing list