<HTML dir=ltr><HEAD>
<META http-equiv=Content-Type content="text/html; charset=unicode">
<META content="MSHTML 6.00.6000.16608" name=GENERATOR></HEAD>
<BODY>
<DIV id=idOWAReplyText88526 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=3>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB style="mso-ansi-language: EN-GB"><FONT face="Times New Roman">When computing deformation fields on a 2D-image it seems to me, that by declaring the a two-dimensional vector ParaView can not properly display the computed deformation field. Therefore I declared a 3D-vector instead of the 2D-vector in the registation examples Computation of the deformation field is not affected by that change and the program runs fine (I get the same deformation as with a 2D-vector). However the third component of the vector (which is not used) is filled with enormous values (e+8). Is there an easy method to fill the third component of the vector with a zero value (sfter the deformationfieldsource has been updated)?</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB style="mso-ansi-language: EN-GB"><?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p><FONT face="Times New Roman"> </FONT></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB style="mso-ansi-language: EN-GB"><FONT face="Times New Roman">const<SPAN style="mso-spacerun: yes"> </SPAN>unsigned int<SPAN style="mso-spacerun: yes"> </SPAN>Dimension = 2;<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB style="mso-ansi-language: EN-GB"><FONT face="Times New Roman">typedef<SPAN style="mso-spacerun: yes"> </SPAN>float<SPAN style="mso-spacerun: yes"> </SPAN>VectorComponentType;<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB style="mso-ansi-language: EN-GB"><FONT face="Times New Roman">typedef<SPAN style="mso-spacerun: yes"> </SPAN>itk::Vector< VectorComponentType, 3 ><SPAN style="mso-spacerun: yes"> </SPAN>VectorType;<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB style="mso-ansi-language: EN-GB"><FONT face="Times New Roman">typedef<SPAN style="mso-spacerun: yes"> </SPAN>itk::Image< VectorType,<SPAN style="mso-spacerun: yes"> </SPAN>Dimension > <SPAN style="mso-spacerun: yes"> </SPAN>DeformationFieldType;<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB style="mso-ansi-language: EN-GB"><o:p><FONT face="Times New Roman"> </FONT></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB style="mso-ansi-language: EN-GB"><o:p><FONT face="Times New Roman"> </FONT></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB style="mso-ansi-language: EN-GB"><FONT face="Times New Roman">Regards, Peter.<o:p></o:p></FONT></SPAN></P></FONT></DIV>
<DIV dir=ltr><FONT face=Arial color=#000000 size=3></FONT> </DIV></DIV>
<DIV id=idSignature63289 dir=ltr>
<DIV><FONT face=Arial color=#000000 size=2>------------------------------------</FONT></DIV>
<DIV><FONT face=Arial color=#000000 size=2>Peter Böttcher, Dr med vet, DipECVS</FONT></DIV>
<DIV><FONT face=Arial color=#000000 size=2><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">European Veterinary Specialist in Surgery</SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial color=#000000 size=2><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Fachtierarzt für Kleintierchirurgie</SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial color=#000000 size=2><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"></SPAN></FONT></FONT><FONT face=Arial><FONT size=2>Klinik für Kleintiere</FONT> <BR><FONT size=2>Universität Leipzig</FONT> <BR><FONT size=2>An den Tierkliniken 23</FONT> <BR><FONT size=2>D-04103 Leipzig (Germany)</FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2>Tel: +49-341-9738700</FONT> <BR><FONT size=2>Fax: +49-341-9738799</FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2>email: <A href="mailto:boettcher@kleintierklinik.uni-leipzig.de">boettcher@kleintierklinik.uni-leipzig.de</A></FONT><BR></FONT></DIV></DIV></BODY></HTML>