[Insight-users] DiscreteGaussianImageFilter
Joshua Cates
cates at sci.utah.edu
Fri, 19 Mar 2004 09:21:13 -0700 (MST)
Hi Zein,
Make sure to cast your 8-bit images to real-valued images (i.e. floats or
doubles) before processing with the DiscreteGaussianImageFilter.
Josh.
On Fri, 19 Mar 2004, salah wrote:
> Hello all,
>
> I am trying to blur a 3d binary image with the DiscreteGaussianImageFilter.
> The image has only values 0 and 255. I want actually to break the
> direct transition from 255 to 0 at the contours.
>
> I wrote:
> DiscreteGaussianImageFilterType::Pointer t_Smoother = DiscreteGaussianImageFilterType::New();
> t_Smoother->SetInput( inputImage);
> 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
> some parameter settings !
>
> Many Thanks,
> Zein
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
>