<div>Hi Tom,</div>
<div> </div>
<div>Thank you for your suggestion.</div>
<div> </div>
<div>I have tried using both SetInitialDeformationField and SetArbitraryInitialDeformationField,</div>
<div>but none of them helps improve my registration result. There might be something wrong</div>
<div>with my idea or with my test. I will check it again.</div>
<div> </div>
<div>Thank you again.</div>
<div> </div>
<div>Jenny</div>
<div> </div>
<div> </div>
<div><br><br> </div>
<div class="gmail_quote">2009/7/8 Tom Vercauteren <span dir="ltr">&lt;<a href="mailto:tom.vercauteren@gmail.com">tom.vercauteren@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi Jenny,<br><br>MultiResolutionPDEDeformableRegistration actually has two ways for<br>specifying the initial deformation field:<br>
<br>SetInitialDeformationField<br><a href="http://www.itk.org/Doxygen/html/classitk_1_1MultiResolutionPDEDeformableRegistration.html#d80eb89e33491f9bb2af188c396202aa" target="_blank">http://www.itk.org/Doxygen/html/classitk_1_1MultiResolutionPDEDeformableRegistration.html#d80eb89e33491f9bb2af188c396202aa</a><br>
<br>and SetArbitraryInitialDeformationField<br><a href="http://www.itk.org/Doxygen/html/classitk_1_1MultiResolutionPDEDeformableRegistration.html#5dcfbd07594272a4b3f212f40fe15831" target="_blank">http://www.itk.org/Doxygen/html/classitk_1_1MultiResolutionPDEDeformableRegistration.html#5dcfbd07594272a4b3f212f40fe15831</a><br>
<br>As shown by the doxygen doc, there are some requirred restrictions on<br>the initial deformation field when using SetInitialDeformationField.<br>Did you try using SetArbitraryInitialDeformationField?<br><br>Regards,<br>
<font color="#888888">Tom<br></font>
<div>
<div></div>
<div class="h5"><br>On Wed, Jul 8, 2009 at 00:01, Luis Ibanez&lt;<a href="mailto:luis.ibanez@kitware.com">luis.ibanez@kitware.com</a>&gt; wrote:<br>&gt;<br>&gt;<br>&gt; Hi Jenny,<br>&gt;<br>&gt;<br>&gt; 0) Yes, we have used this filter.<br>
&gt;<br>&gt;<br>&gt; 1) We have usage examples in<br>&gt;<br>&gt;     Insight/Examples/Registration<br>&gt;         DeformableRegistration10.cxx<br>&gt;         DeformableRegistration16.cxx<br>&gt;         DeformableRegistration17.cxx<br>
&gt;<br>&gt; 2) and a test in<br>&gt;<br>&gt;     Insight/Testing/Code/Algorithms<br>&gt; itkMultiResolutionPDEDeformableRegistrationTest.cxx<br>&gt;<br>&gt;<br>&gt; 3) When you say that the method<br>&gt;<br>&gt;    &quot;doesn&#39;t work for me&quot;<br>
&gt;<br>&gt;   could you please clarify if:<br>&gt;<br>&gt;<br>&gt;     a) it doesnt compile ?<br>&gt;     b) it segs faults at run time ?<br>&gt;     c) it throws and Exception ?<br>&gt;     d) it produces unexpected results ?<br>
&gt;<br>&gt;<br>&gt;<br>&gt;  Thanks<br>&gt;<br>&gt;<br>&gt;    Luis<br>&gt;<br>&gt;<br>&gt;<br>&gt; ---------------------<br>&gt; xiaojing long wrote:<br>&gt;&gt;<br>&gt;&gt; Hi,<br>&gt;&gt;  Has anyone used the filter called<br>
&gt;&gt; &quot;itkMultiResolutionPDEDeformableRegistration&quot; ?<br>&gt;&gt; I tried using the function &#39;SetInitialDeformationField( )&#39;, but it doesn&#39;t<br>&gt;&gt; work for me.<br>&gt;&gt;  Has anyone here ever used this function? Does it work for you?<br>
&gt;&gt;  Thank you all.<br>&gt;&gt;  Jenny<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; ------------------------------------------------------------------------<br>&gt;&gt;<br>&gt;&gt; _____________________________________<br>&gt;&gt; Powered by <a href="http://www.kitware.com/" target="_blank">www.kitware.com</a><br>
&gt;&gt;<br>&gt;&gt; Visit other Kitware open-source projects at<br>&gt;&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>&gt;&gt;<br>
&gt;&gt; Please keep messages on-topic and check the ITK FAQ at:<br>&gt;&gt; <a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>&gt;&gt;<br>&gt;&gt; Follow this link to subscribe/unsubscribe:<br>
&gt;&gt; <a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>&gt;<br>&gt; _____________________________________<br>&gt; Powered by <a href="http://www.kitware.com/" target="_blank">www.kitware.com</a><br>
&gt;<br>&gt; Visit other Kitware open-source projects at<br>&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>&gt;<br>&gt; Please keep messages on-topic and check the ITK FAQ at:<br>
&gt; <a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>&gt;<br>&gt; Follow this link to subscribe/unsubscribe:<br>&gt; <a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
&gt;<br></div></div></blockquote></div><br>