Hi all,<br><br>    I just would like to follow up with my last email. I think the up-sampling code (line 340 to 375) is wrong. <br><br>   Since the ResampleImageFilter is operated on the coefficients (not the deformation field mentioned in my last email), what its output should<br>
be already coefficients (not the deformation field) in higher resolution. Using BSplineDecompositionImageFilter to get the coefficients again<br>does not make sense. <br><br>   For reference, a method for up-sampling of the deformation field is mentioned in Mattes&#39;s 2003 paper, in particular equations (17) and (18).<br>
<div class="gmail_quote"></div><br>Thanks,<br>Mengda<br><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Mengda Wu</b> <span dir="ltr">&lt;<a href="mailto:wumengda@gmail.com">wumengda@gmail.com</a>&gt;</span><br>
Date: 2010/4/1<br>Subject: About the up-sampling of deformation field from low resolution to high in Examples/DeformableRegistration6<br>To: <a href="mailto:Insight-users@itk.org">Insight-users@itk.org</a><br><br><br>Hi all,<br>
<br>   I have a question about conversion of deformation field from low resolution to high in Examples/DeformableRegistration6. I do not understand<br>why we need both ResampleImageFilter and BSplineDecompositionImageFilter. I think we only need to up sample the deformation field (per dimension) <br>

using ResampleImageFilter with BSplineResampleImageFunction. <br><br>  Then, why is the output of ResampleImageFilter fed into BSplineDecompositionImageFilter and then put into the parameters? What does BSplineDecompositionImageFilter do? <br>

I cannot get this from the document of BSplineDecompositionImageFilter.<br><br>Thanks,<br><font color="#888888">Mengda <br>
</font></div><br>