<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><DIV><SPAN style="FONT-SIZE: 11pt"><FONT face="Times New Roman">Thanks Luis for replying me and sorry to be not precise.<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></FONT></SPAN></DIV>
<DIV><SPAN style="FONT-SIZE: 11pt"><FONT face="Times New Roman">What I mean by not working is: It runs without errors, but the output image is unsatisfactory (wrong result).<SPAN style="mso-spacerun: yes"> </SPAN>What I got as a result is a volume in which the information is only in one slide and this only for the segmented volume. with the original volume the result is fine.<o:p></o:p></FONT></SPAN></DIV>
<DIV><SPAN style="FONT-SIZE: 11pt"><FONT face="Times New Roman">I have uploaded the input volume which is not working and also the volume result I obtain.<o:p></o:p></FONT></SPAN></DIV>
<DIV><SPAN style="FONT-SIZE: 11pt"><o:p><FONT face="Times New Roman"> </FONT></o:p></SPAN></DIV>
<P class=MsoNormal style="MARGIN: 0cm 0cm 10pt"><SPAN style="FONT-FAMILY: 'Times New Roman','serif'"><FONT size=3>Please find attached the code I used to scale the volume (in this code I use </FONT></SPAN></DIV>
<P class=MsoNormal style="MARGIN: 0cm 0cm 10pt"><SPAN style="FONT-FAMILY: 'Times New Roman','serif'"><FONT size=3><SPAN style="mso-no-proof: yes">transform->SetIdentity() for diagnostic purpose</SPAN>). <o:p></o:p></FONT></SPAN></DIV>
<DIV><SPAN style="FONT-SIZE: 11pt"><FONT face="Times New Roman">Thank you for your time<o:p></o:p></FONT></SPAN></DIV>
<DIV><SPAN style="FONT-SIZE: 11pt"><FONT face="Times New Roman">Juliette<o:p></o:p></FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><BR><BR>--- En date de : <B>Dim 13.9.09, Luis Ibanez <I><luis.ibanez@kitware.com></I></B> a écrit :<BR></DIV>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(16,16,255) 2px solid"><BR>De: Luis Ibanez <luis.ibanez@kitware.com><BR>Objet: Re: AffineTransform not working with a segmented volume(but works with the original volume!)<BR>À: "Juliette Deniau" <juliette.deniau@yahoo.fr><BR>Cc: "insight" <insight-users@itk.org><BR>Date: Dimanche 13 Septembre 2009, 14h48<BR><BR>
<DIV id=yiv1385989801><BR>Hi Juliette,<BR><BR>Can you please describe what you get when you run this in the<BR>segmented dataset ?<BR><BR>When you say that <BR><BR> "It is not working...."<BR><BR><BR>Do you mean that:<BR><BR>1) It doesn't compile ?<BR>2) It compiles but produces a segmentation fault at run-time ?<BR>3) It generates an exception at run-time ?<BR>4) It runs without errors, but the output image is unsatisfactory ?<BR><BR>Please be more precise on your description of the problem.<BR><BR><BR> Thanks<BR><BR><BR> Luis<BR><BR><BR>--------------------------------------------------------<BR>
<DIV class=gmail_quote>On Fri, Sep 11, 2009 at 5:00 AM, Juliette Deniau <SPAN dir=ltr><<A href="http://fr.mc282.mail.yahoo.com/mc/compose?to=juliette.deniau@yahoo.fr" target=_blank rel=nofollow ymailto="mailto:juliette.deniau@yahoo.fr">juliette.deniau@yahoo.fr</A>></SPAN> wrote:<BR>
<BLOCKQUOTE class=gmail_quote style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<TABLE cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<TR>
<TD style="FONT-FAMILY: inherit; font-size-adjust: inherit; font-stretch: inherit" vAlign=top><SPAN lang=EN-GB>
<DIV>Hi, </DIV>
<DIV>I posted my question few weeks ago but I still have no answer. could you please help me as I'm stuck in this problem and I can't advance.</DIV>
<DIV>I would like to scale a volume using itk::AffineTransform. When I use an original volume (such BrainPart1Brain\brainweb1e1a10f20.mha) the code is working fine but when I use a volume which is the result of segmentation of the original volume, the results are not correct. </DIV>
<DIV>Could some one explain me what’s I’m doing wrong? </DIV>
<DIV>I attach the code. </DIV>
<DIV>in this code I use an identity transform for a purpose of diagnostic but still not working with the segmented volume. </DIV>
<DIV> </DIV><SPAN lang=EN-GB>
<DIV>I want to send the volume which is not working but it is voluminous. Could you tell me where I can send it ? </DIV></SPAN>
<DIV> </DIV>
<DIV>Thanks </DIV>
<DIV>Regards </DIV>
<DIV>Juliette </DIV></SPAN></TD></TR></TBODY></TABLE><FONT color=#888888><BR></FONT></BLOCKQUOTE></DIV><BR></DIV></BLOCKQUOTE></td></tr></table><br>