[vtkusers] GaussianSmooth

Charl P. Botha c.p.botha at its.tudelft.nl
Thu Jun 12 08:46:41 EDT 2003


On Thu, 2003-06-12 at 14:33, yasser salman wrote:
> when i checked the vtkImageGaussianSmooth.h the function vtkImageGaussianSmooth::vtkImageGaussianSmoothis protected
> what can i do?

Please study all the examples.  You'll note that the constructor of a
VTK class is never directly used.  This is also the reason why it's
protected.  If you study the examples you'll quickly see the correct way
to instantiate a class.

> also i didn't know the right values for standerdeviation,radius.,
> thanx for any help..

This is dependent on your data.  Think about what a 3-d Gaussian looks
like.  Consider the features in your data that you would like to retain
and the noise you would like to get rid of.  Keep in mind that a
Gaussian is very close to zero at a radius of about 4 times its standard
deviation.

-- 
charl p. botha http://cpbotha.net/ http://visualisation.tudelft.nl/



More information about the vtkusers mailing list