[Insight-users] Re: smaller raw files

Luis Ibanez luis . ibanez at kitware . com
Wed, 21 Aug 2002 14:47:57 -0400


Hi Zein,

You can subsample an image using the Shrink image filter:

http://www.itk.org/Insight/Doxygen/html/classitk_1_1ShrinkImageFilter.html
(notice that this filter is not smoothing before subsampling
as is desirable in order to prevent aliasing effects).

or can Extract (crop) a subregion from the image using:

http://www.itk.org/Insight/Doxygen/html/classitk_1_1ExtractImageFilter.html


    Luis



========================================================

Zein Salah wrote:
>  
> 
> Hello Luis,
> 
> I use raw files of 256*256*256 size to test the filter of ITK. The 
> process is in general time consuming.
> 
>  
> 
> 1. Is there some way reduce the size of my files? Can I for 
> example extract a cubic region from a raw file? resample a raw file? Are 
> there classes in ITK that do that??
> 
> 2. where can I obtain raw files of smaller sizes? 128^3 for example?? 
> The files in the brain website are some how large! 181*218*181 !
> 
>  
> 
> Many thanks,
> 
> Zein
> 
>  
> 
>  
> 
> ->8<------------->8<------------->8<------------->8<------------->8<------------->8<-
> Zein I. Salah
> Universität Tübingen, WSI-GRIS
> Sand 14
> 72076 Tübingen
> Email: salah@gris.uni-tuebingen.de <mailto:salah@gris.uni-tuebingen.de>  
> / zeinsalah@hotmail.com <mailto:zeinsalah@hotmail.com>
> Tel.: (07071) 29 75465 (GRIS) , (07071) 96 44 39 (privat)
>