[Insight-users] DiscreteGaussianImageFilter

salah salah at gris.uni-tuebingen.de
Fri, 19 Mar 2004 13:06:13 +0100


Hello all,

I am trying to blur  a 3d binary image with the =
DiscreteGaussianImageFilter.=20
The image has only values 0 and 255. I want actually to break the=20
direct transition from 255 to 0 at the contours.

I wrote:
    DiscreteGaussianImageFilterType::Pointer t_Smoother  =3D  =
DiscreteGaussianImageFilterType::New();
   t_Smoother->SetInput( inputImage);=20
   t_Smoother->SetFilterDimensionality(3);
   t_Smoother->SetVariance(2.5);
   t_Smoother->UpdateLargestPossibleRegion();


I am getting only a black image!! Could you please tell me is I missed=20
some parameter settings !

Many Thanks,
Zein