<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span></span></div><div><br></div>  <div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"> <div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> ----- Forwarded Message -----<br>  <b><span style="font-weight: bold;">From:</span></b> Abayiz &lt;abayiz@yahoo.com&gt;<br> <b><span style="font-weight: bold;">To:</span></b> Sureerat Reaungamornrat &lt;sureerat.r@gmail.com&gt; <br> <b><span style="font-weight: bold;">Sent:</span></b> Wednesday, May 2, 2012 12:44 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [Insight-users] Demons Registration Initial Displacement Field<br> </font> </div> <br>
<div id="yiv255171451"><div><div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-family: times new roman,new york,times,serif; font-size: 12pt;"><div><span>Hello Suree, <br></span></div><div><br><span></span></div><div><span>I used that filter again for my new case. I used rigid registration to get transformation, then used your suggested filter to get corresponding deformation field, </span><span> but this time the result was totally strange. The attachment is one slice of the resulted deformation field. <br></span></div><div><br><span></span></div><div><span>Do you have any suggestion for this? <br></span></div><div><br><span></span></div><div><span>Thank you very much. <br></span></div><div><br></div>  <div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"> <div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> <hr size="1"> 
 <b><span style="font-weight: bold;">From:</span></b> Sureerat Reaungamornrat &lt;sureerat.r@gmail.com&gt;<br> <b><span style="font-weight: bold;">To:</span></b> Abayiz &lt;abayiz@yahoo.com&gt; <br> <b><span style="font-weight: bold;">Sent:</span></b> Wednesday, April 18, 2012 3:44 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [Insight-users] Demons Registration Initial Displacement Field<br> </font> </div> <br>
<div id="yiv255171451">Hi Abayiz,<div><br></div><div>&nbsp; &nbsp;I am glad to hear that help.</div><div><br></div><div>Best regards,</div><div><br></div><div>Suree<br><br><div class="yiv255171451gmail_quote">On Wed, Apr 18, 2012 at 2:37 AM, Abayiz <span dir="ltr">&lt;<a rel="nofollow" ymailto="mailto:abayiz@yahoo.com" target="_blank" href="mailto:abayiz@yahoo.com">abayiz@yahoo.com</a>&gt;</span> wrote:<br>
<blockquote class="yiv255171451gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><div style="font-size: 12pt; font-family: times new roman,new york,times,serif;"><div><span>Hello Suree,</span></div><div>
<br><span></span></div><div><span>Thank you very much for your answer. That is exactly what I want. <br></span></div><div><br><span></span></div><div><span>Regards,</span></div><div><span>Abayiz<br></span></div><div class="yiv255171451hm yiv255171451HOEnZb">
<div><br></div>  </div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div class="yiv255171451hm yiv255171451HOEnZb"> </div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div class="yiv255171451hm yiv255171451HOEnZb">
 <div dir="ltr"> <font face="Arial"> <hr size="1">  <b><span style="font-weight: bold;">From:</span></b> Sureerat Reaungamornrat &lt;<a rel="nofollow" ymailto="mailto:sureerat.r@gmail.com" target="_blank" href="mailto:sureerat.r@gmail.com">sureerat.r@gmail.com</a>&gt;<br> <b><span style="font-weight: bold;">To:</span></b> Abayiz &lt;<a rel="nofollow" ymailto="mailto:abayiz@yahoo.com" target="_blank" href="mailto:abayiz@yahoo.com">abayiz@yahoo.com</a>&gt; <br>
<b><span style="font-weight: bold;">Cc:</span></b> itk &lt;<a rel="nofollow" ymailto="mailto:insight-users@itk.org" target="_blank" href="mailto:insight-users@itk.org">insight-users@itk.org</a>&gt; <br> <b><span style="font-weight: bold;">Sent:</span></b> Tuesday,
 April 17, 2012 5:38 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [Insight-users] Demons Registration Initial Displacement Field<br> </font> </div></div><div><div class="yiv255171451h5"> <br>
<div>Hi Abayiz,<div><br></div><div>&nbsp; &nbsp; You can use the itk::TransformToDisplacementFieldSource to create a</div><div>displacement field from a rigid transformation and use the displacement as&nbsp;</div><div>and initial displacement for Demons.&nbsp;</div>

<div><br></div><div>http://www.itk.org/Doxygen/html/classitk_1_1TransformToDisplacementFieldSource.html
</div><div>http://www.insight-journal.org/browse/publication/240&nbsp;
</div><div><br></div><div>Regards,</div><div><br></div><div>Suree<br><br><div>On Tue, Apr 17, 2012 at 10:31 AM, Abayiz <span dir="ltr">&lt;<a rel="nofollow" ymailto="mailto:abayiz@yahoo.com" target="_blank" href="mailto:abayiz@yahoo.com">abayiz@yahoo.com</a>&gt;</span> wrote:<br>

<blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><div style="font-size: 12pt; font-family: times new roman,new york,times,serif;"><div>Hello,</div><div><br></div><div>

What I am trying to do is: first perform rigid registration, then use the registration result as initial displacement field for Demons registration algorithm.</div><div>But the problem is, initial displacement for Demons algorithm should be a vector field type. Is there any way to do what I want here??</div>

<div><br></div><div>Thank you in advance. <br></div><div>With regards,</div><div>Abayiz<br></div></div></div><br>_____________________________________<br>
Powered by <a rel="nofollow" target="_blank" href="http://www.kitware.com">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
http://www.kitware.com/opensource/opensource.html<br>
<br>
Kitware offers ITK Training Courses, for more information visit:<br>
http://www.kitware.com/products/protraining.php<br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
http://www.itk.org/Wiki/ITK_FAQ<br>
<br>
Follow this link to subscribe/unsubscribe:<br>
http://www.itk.org/mailman/listinfo/insight-users<br>
<br></blockquote></div><br></div>
</div><br><br> </div></div></div> </div>  </div></div></blockquote></div><br></div>
</div><br><br> </div> </div>  </div></div></div><br><br> </div> </div>  </div></body></html>