AW: [Insight-users] DiscreteGaussianImageFilter
Luis Ibanez
luis.ibanez at kitware.com
Fri, 19 Mar 2004 09:05:04 -0500
Hi Zein,
Is the the header of the Input file or the Output file ?
What is the PixelType that you are using in your Code ?
Please post the typedefs that you are using
for instantiating the image type.
Thanks
Luis
-------------------
salah wrote:
> Thanks Luis for answering both emails.
>
> It is a 3d meta image file, (.mhd+.raw). For convenience, it has
> following header:
>
> NDims = 3
> BinaryDataByteOrderMSB = False
> ElementSpacing = 0.703 0.703 2
> DimSize = 498 498 185
> ElementType = MET_UCHAR
> ElementDataFile = colon.raw
>
> for the viewing, I use the traditional fltkimageviewer.
>
> Many thanks,
> Zein
>
> -----Ursprüngliche Nachricht-----
> Von: Luis Ibanez [mailto:luis.ibanez at kitware.com]
> Gesendet: Freitag, 19. März 2004 14:21
> An: salah
> Cc: ITK Users (E-Mail)
> Betreff: Re: [Insight-users] DiscreteGaussianImageFilter
>
>
>
> 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
>>
>
>
>
>
>