Dear All,&nbsp;<div><br></div><div>I am trying to look into the ITK demons registration code and have some&nbsp;</div><div>difficulties in understanding the accumulation of the deformation field&nbsp;</div><div>between iterations.&nbsp;</div>
<div><br class="webkit-block-placeholder"></div><div>As in demons registration algorithm, the updating deformation field was&nbsp;</div><div>u = &nbsp;(g-f) *grad(f)/((g-f)^2+grad_mag^2).<span class="Apple-style-span" style="color: rgb(35, 110, 37); font-family: Monaco; ">
</span></div><div><br class="webkit-block-placeholder"></div><div>My question is:&nbsp;</div><div>How u is used to update the deformation from the previous iteration f_pre&nbsp;<br></div><div>(previous deformation)?&nbsp;was it simple addition? the new deformation&nbsp;
</div><div>field f_new &nbsp;= &nbsp;f_pre + u?&nbsp;</div><div><br></div><div>I wasn&#39;t be able to find the function in the ITK registration codes for this</div><div>field updating,&nbsp;and I appreciate if&nbsp;anyone can help me with any information.&nbsp;
</div><div><br class="webkit-block-placeholder"></div><div>Thanks,<br>-Minjie Wu&nbsp;</div><div><br class="webkit-block-placeholder"></div>