<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 style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">&nbsp;</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">hi;</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">first of all thank you for your fast reply. I have just started to use shrinkImageFilter. How can we decide how much resolution reduction&nbsp;to &nbsp;do.&nbsp; I found an example ,but&nbsp; i didn't understand that how it is decided. For example I would like to do 1/4 resolution reduction. which command makes it?</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">&nbsp;</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">thanks in advance</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">Tony</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">&nbsp;</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">&nbsp;</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">
<P><FONT color=#0000ff>typedef</FONT> itk::NormalizeImageFilter&lt;MovingImageType,MovingImageType&gt; </P>
<P>NormalizeFilter;</P>
<P><FONT color=#0000ff>typedef</FONT> itk::ChangeInformationImageFilter&lt;MovingImageType&gt; </P>
<P>ChangeInformationFilter;</P>
<P><FONT color=#0000ff>typedef</FONT><FONT size=2><FONT size=3> itk::ShrinkImageFilter&lt;MovingImageType,MovingImageType&gt; ShrinkFilter;</FONT></P>
<P><FONT size=3>NormalizeFilter::Pointer movingNormalize = NormalizeFilter::New();</FONT></P>
<P><FONT size=3>sf[0] = 1;</FONT></P>
<P><FONT size=3>sf[1] = 1;</FONT></P>
<P><FONT size=3>sf[2] = 1;</FONT></P>
<P><FONT size=3>ShrinkFilter::Pointer movingShrink = ShrinkFilter::New();</FONT></P>
<P><FONT size=3>movingShrink-&gt;SetInput(input);</FONT></P>
<P><FONT size=3>movingShrink-&gt;SetShrinkFactors(sf);</FONT></P>
<P><FONT size=3>ChangeInformationFilter::Pointer movingChange = </FONT></P>
<P><FONT size=3>ChangeInformationFilter::New();</FONT></P>
<P><FONT size=3>movingChange-&gt;SetInput(movingShrink-&gt;GetOutput());</FONT></P>
<P><FONT size=3>movingChange-&gt;CenterImageOn();</FONT></P>
<P><FONT size=3>movingChange-&gt;Update();</FONT></P>
<P><FONT size=3>input-&gt;Delete();</FONT></P></FONT><BR><BR></DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">----- Original Message ----<BR>From: Xabier Artaechevarria Artieda &lt;xabiarta@unav.es&gt;<BR>To: insight-users@itk.org<BR>Sent: Thursday, March 15, 2007 2:57:16 PM<BR>Subject: Re: [Insight-users] raw data resolution reduction<BR><BR>
<DIV>Hi Tony,<BR><BR>you can use the ShrinkImageFilter<BR><BR>Regards,<BR>Xabi<BR><BR>-- <BR>Xabier Artaechevarria<BR>Cancer Imaging Laboratory<BR>Centre for Applied Medical Research<BR><A href="http://www.cima.es/" target=_blank>www.cima.es</A><BR><BR><BR><BR>tony hakki &lt;tony2007vtk@yahoo.com&gt; ha escrito:<BR><BR>&gt; I have been having difficulty reducing the dataset size ,how can I&nbsp;&nbsp; <BR>&gt; reduce the resolution of my .raw 3D dataset. Which class is suitable&nbsp;&nbsp;<BR>&gt;&nbsp;&nbsp;to manage it.<BR>&gt; Tony<BR>&gt;<BR>&gt;<BR>&gt;<BR>&gt; ____________________________________________________________________________________<BR>&gt; Now that's room service!&nbsp;&nbsp;Choose from over 150,000 hotels<BR>&gt; in 45,000 destinations on Yahoo! Travel to find your fit.<BR>&gt; <A href="http://farechase.yahoo.com/promo-generic-14795097"
 target=_blank>http://farechase.yahoo.com/promo-generic-14795097</A><BR><BR><BR><BR>----------------------------------------------------------------<BR>Este mensaje ha sido enviado desde <A href="https://webmail.unav.es/" target=_blank>https://webmail.unav.es</A><BR><BR>_______________________________________________<BR>Insight-users mailing list<BR>Insight-users@itk.org<BR><A href="http://www.itk.org/mailman/listinfo/insight-users" target=_blank>http://www.itk.org/mailman/listinfo/insight-users</A></DIV></DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"><BR></DIV></div><br>

<hr size=1>Now that's room service! <a href="http://travel.yahoo.com/hotelsearchpage;_ylc=X3oDMTFtaTIzNXVjBF9TAzk3NDA3NTg5BF9zAzI3MTk0ODEEcG9zAzIEc2VjA21haWx0YWdsaW5lBHNsawNxMS0wNw--
">Choose from over 150,000 hotels <br>in 45,000 destinations on Yahoo! Travel</a> to find your fit.</body></html>