<div dir="ltr"><div style>Hi everyone</div><div style><br></div><div style>I have a moving image sequence with a reference or fixed image called Im_fixed.</div><div style><br></div><div style> I have used Syn registration on multiple moving images and therefore have a sequence of forward (takes fixed to moving) and backward (takes moving to fixed) displacement fields.</div>
<div style><br></div><div style>Assuming I perform an affine registration of Im_fixed to a separate image called Im_seperate, not contained within the sequence, how can I then proceed to put the Syn registrations into the reference frame of Im_seperate such that the forward and backward fields move Im_seperate with the same motion as the moving image sequence </div>
<div style><br></div><div style>I am using the Compose Displacement Field Image filter but not clear on the order of composition.<br></div><div style><br></div><div style>What is the warping field and how does this differ from the displacement field? Would using the inverse of the affine with the forward displacement fields give me fields that move Im_separate in the manner desired? If so which order do I compose them in?</div>
<div style><br></div><div style>Thanks</div><div style><br></div><div style>Emma </div><div style><br></div><div> typedef itk::ComposeDisplacementFieldsImageFilter<DisplacementFieldType, </div><div> DisplacementFieldType> ComposerType;</div>
<div> ComposerType::Pointer composer = ComposerType::New();</div><div><br></div><div> composer->SetDisplacementField( inputfield1);</div><div> composer->SetWarpingField( inputfield2);</div><div> composer->Update();</div>
<div> combinedfield=composer->GetOutput();</div><div> </div></div>