[Insight-users] how to reduce a size of a dicom serie 3D

Xabier Artaechevarria xabiarta at unav.es
Fri Nov 13 05:38:42 EST 2009


Hi Syrine,

you can try this ITK filter:

http://www.itk.org/Doxygen/html/classitk_1_1ShrinkImageFilter.html

Regards,
Xabier

2009/11/13 Syrine Sahmim <syrine.sahmim at yahoo.fr>

> Hi,
>
> I'm testing a code on matlab to see the result before doing it on itk or
> vtk.the error i have is a warning "out of memory". So i guess that i have to
> reduce the size of the dicom serie 3D that i use. I tried on matlab the
> imresize function but there are some problem with it.
> If someone tells me  how to do it on itk or vtk or even matlab.
> Thank you
>
> Regards
> syrine
>
> ------------------------------
> *De :* Roman Grothausmann <roman.grothausmann at helmholtz-berlin.de>
> *À :* insight-users at itk.org
> *Envoyé le :* Ven 13 Novembre 2009, 10 h 31 min 48 s
> *Objet :* Re: [Insight-users] equivalence of Gaussian and low-pass-FFT
>
> Thanks every body for the answers. With Insight-book I mean Insight Into
> Images: http://www.akpeters.com/product.asp?ProdCode=2175
>
> So it's only equivalent if I multiply the FFT with the FFT of the
> convolution Kernel I use in real space.
> I think though there's one difference: Using the FFT allows to reduce the
> discretization (a better discrete interpolation) of the result since it's
> calculated with floating point precision. Convolving with a (wide) Gaussian
> gives me very few grey values.
>
> Regards,
> Roman
>
> C.Cagatay Bilgin wrote:
> > Your question is actually independent of the ITK
> > usage. Convolution in time domain corresponds
> > to multiplication in frequency domain, so gaussian
> > filtering your image is actually multiplying the FFT
> > of your image with the FFT of the gaussian filter you
> > used (you might need some padding as most probably
> > your gaussian filter is was smaller than your image).
> >
> > If you want to clean up your image a little, I would say
> > do not go to FFT just do it in time domain using the
> > gaussian filters provided in the toolkit as you will
> > need less number of lines of code.
> >
> > By the way, is the Insight-Book are you referring
> > the software manual or something else ?
> >
> > Regards,
> >
> ----------------------------------------------------------------------------
>
> > Cemal Cagatay Bilgin,
> > Ph.D Candidate in Computer Science Department at RPI
> > bilgic at cs.rpi.edu - http://www.cs.rpi.edu/~bilgic<http://www.cs.rpi.edu/%7Ebilgic>
> > Lally 01A, 110 8th Street Troy, NY 12180-3590, USA.
> > Tel: (518) 276-8489, Fax:(518) 276-4033
> >
> > On Nov 12, 2009, at 10:46 AM, Roman Grothausmann wrote:
> >
>
>
> _____________________________________
> 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.html
>
> 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://www.itk.org/mailman/listinfo/insight-users
>
>
> _____________________________________
> 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.html
>
> 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://www.itk.org/mailman/listinfo/insight-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20091113/3829394e/attachment.htm>


More information about the Insight-users mailing list