[Insight-users] DiscreteGaussianImageFilter

Luis Ibanez luis.ibanez at kitware.com
Fri, 19 Mar 2004 08:20:34 -0500


Hi Zein,


A) What is the pixel type of your image ?

B) How are you saving the image ?


A common mistake is to save "unsigned short"
images in PNG files and then use primitive
image viewers to look at them.


Please let us know more details.


   Luis


------------------
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
>