<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"> </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 to do. I found an example ,but 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"> </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"> </DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"> </DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">
<P><FONT color=#0000ff>typedef</FONT> itk::NormalizeImageFilter<MovingImageType,MovingImageType> </P>
<P>NormalizeFilter;</P>
<P><FONT color=#0000ff>typedef</FONT> itk::ChangeInformationImageFilter<MovingImageType> </P>
<P>ChangeInformationFilter;</P>
<P><FONT color=#0000ff>typedef</FONT><FONT size=2><FONT size=3> itk::ShrinkImageFilter<MovingImageType,MovingImageType> 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->SetInput(input);</FONT></P>
<P><FONT size=3>movingShrink->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->SetInput(movingShrink->GetOutput());</FONT></P>
<P><FONT size=3>movingChange->CenterImageOn();</FONT></P>
<P><FONT size=3>movingChange->Update();</FONT></P>
<P><FONT size=3>input->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 <xabiarta@unav.es><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 <tony2007vtk@yahoo.com> ha escrito:<BR><BR>> I have been having difficulty reducing the dataset size ,how can I <BR>> reduce the resolution of my .raw 3D dataset. Which class is suitable <BR>> to manage it.<BR>> Tony<BR>><BR>><BR>><BR>> ____________________________________________________________________________________<BR>> Now that's room service! Choose from over 150,000 hotels<BR>> in 45,000 destinations on Yahoo! Travel to find your fit.<BR>> <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>