[vtkusers] smoothing vtkImageData with vtkImageGaussianSmooth
Jothy
jothybasu at gmail.com
Wed Jul 14 10:04:13 EDT 2010
My problem was different. I was trying to create a graduall fall off from
the image with a uniform scalar value inside it. Something like a cube of
uniform values and a graduall fall of scalar value from its edges.
Thanks,
Jothy
On Wed, Jul 14, 2010 at 3:00 PM, Liam Kurmos <quantum.leaf at googlemail.com>wrote:
> On Wed, Jul 14, 2010 at 2:45 PM, Preeti Bindu <preetibindu at gmail.com>
> wrote:
> > With SetInput it accepts ImageData as input while if you opt for
> > SetInputConnection it will need vtkAlgorithmOutput.
> > Hope it helps. Would be quick enough if you could post the code.
> >
>
> ah, sorry accidentally posted it as a reply to Jothy rather than a
> reply to vtkusers.
>
> in any case:
>
> input works with:
> vtkSmartPointer<vtkImageGaussianSmooth> gaussianSmoothFilter =
> vtkSmartPointer<vtkImageGaussianSmooth>::New();
>
> gaussianSmoothFilter->SetInput(vol);
> gaussianSmoothFilter->Update();
>
> where vol is vtkImageData*
>
> Jothy mentioned that he had some trouble getting smoothing to work so
> i will investigate,
>
> Liam
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100714/85307784/attachment.htm>
More information about the vtkusers
mailing list