[ITK-users] sitk.DiscreteGaussianImageFilter with different variances per direction

Dženan Zukić dzenanz at gmail.com
Thu May 4 13:18:43 EDT 2017


Hi Jonas,

I don't know whether that is possible with SimpleITK, but with regular ITK
you just pass an array of variances (each corresponding to one spatial
dimension). Make sure that (last) one is 0.

Regards,
Dženan Zukić, PhD, Senior R&D Engineer, Kitware (Carrboro, N.C.)

On Thu, May 4, 2017 at 12:48 PM, Jonas Teuwen <jonasteuwen at gmail.com> wrote:

> Dear all,
>
> I am downsampling an image in the in-plane resolution (3D) and I want to
> apply a Gaussian filter beforehand. I want to have a different variance (0)
> in depth as I do not downsample in this direction. https://itk.org/
> SimpleITKDoxygen/html/classitk_1_1simple_1_1DiscreteGaussianImageFilter.
> html#details mentions that the 'variance can be set independently in each
> dimension'. How would I do this with SetVariance()?
>
> Best Regards,
> Jonas Teuwen
>
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.php
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/insight-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/insight-users/attachments/20170504/100e0da0/attachment.html>


More information about the Insight-users mailing list