<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div><br></div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">hi,<br>if we try to use this filter or any other method to reduce the size of dicom volume. we will lose the quality of the dicom volume because we will eliminate some voxels. My problem is how to do to reduce the volume without modifying the quality of data. Can i choos some slices randomly from the dicom seroies that i have and eliminate others to test it on matlab and then on itk or vtk<br>Regards <br>Syrine<br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><font size="2" face="Tahoma"><hr size="1"><b><span style="font-weight: bold;">De :</span></b> Xabier Artaechevarria &lt;xabiarta@unav.es&gt;<br><b><span style="font-weight: bold;">À :</span></b> Syrine Sahmim
 &lt;syrine.sahmim@yahoo.fr&gt;<br><b><span style="font-weight: bold;">Cc :</span></b> insight-users@itk.org<br><b><span style="font-weight: bold;">Envoyé le :</span></b> Ven 13 Novembre 2009, 11 h 38 min 42 s<br><b><span style="font-weight: bold;">Objet&nbsp;:</span></b> Re: [Insight-users] how to reduce a size of a dicom serie 3D<br></font><br>Hi Syrine,<br><br>you can try this ITK filter:<br><br><a rel="nofollow" target="_blank" href="http://www.itk.org/Doxygen/html/classitk_1_1ShrinkImageFilter.html">http://www.itk.org/Doxygen/html/classitk_1_1ShrinkImageFilter.html</a><br><br>Regards,<br>Xabier<br>
<br><div class="gmail_quote">2009/11/13 Syrine Sahmim <span dir="ltr">&lt;<a rel="nofollow" ymailto="mailto:syrine.sahmim@yahoo.fr" target="_blank" href="mailto:syrine.sahmim@yahoo.fr">syrine.sahmim@yahoo.fr</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div>Hi,<br><br>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.<br>
If someone tells me&nbsp; how to do it on itk or vtk or even matlab.<br>Thank you<br><br>Regards<br>syrine<br></div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br><div style="font-family: arial,helvetica,sans-serif; font-size: 13px;">
<font size="2" face="Tahoma"><hr size="1"><b><span style="font-weight: bold;">De :</span></b> Roman Grothausmann &lt;<a rel="nofollow" ymailto="mailto:roman.grothausmann@helmholtz-berlin.de" target="_blank" href="mailto:roman.grothausmann@helmholtz-berlin.de">roman.grothausmann@helmholtz-berlin.de</a>&gt;<br>
<b><span style="font-weight: bold;">À :</span></b>
 <a rel="nofollow" ymailto="mailto:insight-users@itk.org" target="_blank" href="mailto:insight-users@itk.org">insight-users@itk.org</a><br><b><span style="font-weight: bold;">Envoyé le :</span></b> Ven 13 Novembre 2009, 10 h 31 min 48 s<br><b><span style="font-weight: bold;">Objet&nbsp;:</span></b> Re: [Insight-users] equivalence of Gaussian and low-pass-FFT<br>
</font><br>Thanks every body for the answers. With Insight-book I mean Insight Into Images: <a rel="nofollow" target="_blank" href="http://www.akpeters.com/product.asp?ProdCode=2175">http://www.akpeters.com/product.asp?ProdCode=2175</a><br>
<br>So it's only equivalent if I multiply the FFT with the FFT of the convolution Kernel I use in real space.<br>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.<br>
<br>Regards,<br>Roman<br><br>C.Cagatay Bilgin wrote:<br>&gt; Your question is actually independent of the ITK<br>&gt;
 usage. Convolution in time domain corresponds<br>&gt; to multiplication in frequency domain, so gaussian<br>&gt; filtering your image is actually multiplying the FFT<br>&gt; of your image with the FFT of the gaussian filter you<br>
&gt; used (you might need some padding as most probably<br>&gt; your gaussian filter is was smaller than your image).<br>&gt; <br>&gt; If you want to clean up your image a little, I would say<br>&gt; do not go to FFT just do it in time domain using the<br>
&gt; gaussian filters provided in the toolkit as you will<br>&gt; need less number of lines of code.<br>&gt; <br>&gt; By the way, is the Insight-Book are you referring<br>&gt; the software manual or something else ?<br>&gt; <br>
&gt; Regards,<br>&gt; ---------------------------------------------------------------------------- <br>&gt; Cemal Cagatay Bilgin,<br>&gt; Ph.D Candidate in Computer Science Department at RPI<br>&gt; <a rel="nofollow" ymailto="mailto:bilgic@cs.rpi.edu" target="_blank" href="mailto:bilgic@cs.rpi.edu">bilgic@cs.rpi.edu</a> - <a rel="nofollow" target="_blank" href="http://www.cs.rpi.edu/%7Ebilgic">http://www.cs.rpi.edu/~bilgic</a><br>
&gt; Lally 01A, 110 8th Street Troy, NY 12180-3590, USA.<br>&gt; Tel: (518) 276-8489, Fax:(518) 276-4033<br>&gt; <br>&gt; On Nov 12, 2009, at 10:46 AM, Roman Grothausmann wrote:<br>&gt; <br><br><br>_____________________________________<br>
<span>Powered by <a rel="nofollow" target="_blank" href="http://www.kitware.com">www.kitware.com</a></span><br><br>Visit other Kitware open-source projects at<br><a rel="nofollow" target="_blank" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><br>
<br>Kitware offers ITK Training Courses, for more information visit:<br><a rel="nofollow" target="_blank" href="http://www.kitware.com/products/protraining.html">http://www.kitware.com/products/protraining.html</a><br><br>Please keep messages on-topic and check the ITK FAQ at:<br>
<a rel="nofollow" target="_blank" href="http://www.itk.org/Wiki/ITK_FAQ">http://www.itk.org/Wiki/ITK_FAQ</a><br><br>Follow this link to subscribe/unsubscribe:<br><a rel="nofollow" target="_blank" href="http://www.itk.org/mailman/listinfo/insight-users">http://www.itk.org/mailman/listinfo/insight-users</a><br>
</div></div>

</div><br>




      </div><br>_____________________________________<br>
Powered by <a rel="nofollow" target="_blank" href="http://www.kitware.com">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a rel="nofollow" target="_blank" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Kitware offers ITK Training Courses, for more information visit:<br>
<a rel="nofollow" target="_blank" href="http://www.kitware.com/products/protraining.html">http://www.kitware.com/products/protraining.html</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<a rel="nofollow" target="_blank" href="http://www.itk.org/Wiki/ITK_FAQ">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a rel="nofollow" target="_blank" href="http://www.itk.org/mailman/listinfo/insight-users">http://www.itk.org/mailman/listinfo/insight-users</a><br>
<br></blockquote></div><br>
</div></div>
<!-- cg10.c41.mail.ird.yahoo.com compressed/chunked Sun Nov 15 12:03:34 PST 2009 -->
</div><br>



      </body></html>