<div dir="ltr">Thanks Seth, I like the idea... but with the def fields having pretty much all of the exact attributes, I was hoping to append the files on a more macro-scale... however, I think it may require a process like you outlined.<br>
<br>Thanks for the help!<br><br>Tim<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Apr 26, 2013 at 6:13 PM, Seth Gilchrist <span dir="ltr">&lt;<a href="mailto:seth@mech.ubc.ca" target="_blank">seth@mech.ubc.ca</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Tim,<div>You could try to create two deformation fields in the regions each transform defines, then use the bool output of TransformPhysicalPointToIndex with your two input deformation fields to construct your output deformation field.</div>


<div><br></div><div>Iterate through the deformation field and try this psudo code:</div><div><br></div><div>for all index in finalDeformField</div><div>  location = finalDeformField::TransformIndexToPhysicalPoint(index)<br>


</div><div>  if defField1::TransformPhysicalPointToIndex(location)<br></div><div>    Use the data from field one</div><div>  elseif defField2::TransformPhysicalPointToIndex(location)</div><div>    Use the data from field two</div>


<div>  else</div><div>    Nothing</div><div>  end</div><div>end</div><div><br></div><div>Cheers,</div><div>Seth</div><div><br></div></div>
</blockquote></div><br><br clear="all"><br>-- <br>Tim Bhatnagar<br>PhD Candidate<br>Orthopaedic Injury Biomechanics Group<br>Department of Mechanical Engineering<br>University of British Columbia<br><br>Rm 5000 - 818 West 10th Ave.<br>
Vancouver, BC<br>Canada<br>V5Z 1M9<br><br>Ph: (604) 675-8845<br>Fax: (604) 675-8820<br>Web: <a href="http://oibg.mech.ubc.ca" target="_blank">oibg.mech.ubc.ca</a><br>
</div>