[vtkusers] smoothing vtkImageData with vtkImageGaussianSmooth

David Doria daviddoria+vtk at gmail.com
Wed Jul 14 09:40:31 EDT 2010


On Wed, Jul 14, 2010 at 3:33 PM, Jothy <jothybasu at gmail.com> wrote:
> Can you post your code?
>
> Jothy
>
> On Wed, Jul 14, 2010 at 2:30 PM, Liam Kurmos <quantum.leaf at googlemail.com>
> wrote:
>>
>> Hi All,
>>
>> I want to smooth some 3D image data with vtkImageGaussianSmooth, but i
>> can't seem to connect the pipeline. The filter wants a
>> vtkAlgorithmOutput* as input but i don't know how to get one for a
>> vtkImageData.
>>
>> the example in the wiki uses vtkImageCanvasSource2D->GetOutputPort()
>> which isnt what i want.
>> How should i connect these two? also if there is a way i could have
>> found this out (other than asking) i'd be very grateful if you can let
>> me know.
>>
>> cheers,
>>
>> Liam
>> _______________________________________________
>> Powered by www.kitware.com
>

Are you using SetInput or SetInputConnection. As Jothy said, it would
be best if you could post your code. Also, which version of VTK are
you using?

Thanks,

David



More information about the vtkusers mailing list