<div dir="ltr">Hi Tim,<div style>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 style><br></div><div style>Iterate through the deformation field and try this psudo code:</div><div style><br></div><div style>for all index in finalDeformField</div><div style>  location = finalDeformField::TransformIndexToPhysicalPoint(index)<br>

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

<div style>  else</div><div style>    Nothing</div><div style>  end</div><div style>end</div><div style><br></div><div style>Cheers,</div><div style>Seth</div><div style><br></div></div>