<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi all,<div><font class="Apple-style-span" face="Monaco"><br></font></div><div><font class="Apple-style-span" face="Monaco"><span class="Apple-style-span" style="font-family: Helvetica; ">i want a&nbsp;<span class="Apple-style-span" style="font-family: Monaco; ">MultiResolutionImageRegistrationMethod</span>&nbsp;to do the first 3 levels with&nbsp;<span class="Apple-style-span" style="font-family: Monaco; ">VersorRigid3DTransform<span class="Apple-style-span" style="font-family: Helvetica; ">&nbsp;and the last level with&nbsp;<span class="Apple-style-span" style="font-family: Monaco; ">AffineTransform, but&nbsp;<span class="Apple-style-span" style="font-family: Helvetica; ">i didnt manage to exchange the transform component within my&nbsp;<span class="Apple-style-span" style="font-family: Monaco; font-size: 14px; "><font class="Apple-style-span" size="3">RegistrationInterfaceCommand.</font><span class="Apple-style-span" style="font-family: Helvetica; font-size: 12px; ">&nbsp;</span></span></span></span></span></span></span></font></div><div><br></div><div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 14px/normal Monaco; "><font class="Apple-style-span" color="#000000"><span class="Apple-style-span" style="font-family: Helvetica; "><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;">The&nbsp;</span></font><span class="Apple-style-span" style="font-family: Monaco; "><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;"><span style="color: #aa0d91">dynamic_cast</span>&lt;RegistrationPointer>( object )<span class="Apple-style-span" style="color: rgb(63, 110, 116); ">-><span class="Apple-style-span" style="color: rgb(0, 0, 0); ">SetTransform(itk::AffineTransform&lt; float, 3 >::New()) <span class="Apple-style-span" style="font-family: Helvetica; ">method fails. The&nbsp;<span class="Apple-style-span" style="font-family: Monaco; ">RegistrationPointer <span class="Apple-style-span" style="font-family: Helvetica; ">is templated like in MultiResImageRegistration1.cxx . I'm not very familiar with templates. Is here the problem?</span></span></span></span></span></span></font></span></span></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 14px/normal Monaco; "><font class="Apple-style-span" face="Helvetica" size="3"><span class="Apple-style-span" style="font-size: 12px;"><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 14px/normal Monaco; "><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;"><br></span></font></div></span></font></div></div><div><br></div><div>Are there any examples to this issue? Do i have to reinizialize the registration before changing components? Or do i cut this into 2 pieces and pass an transformed image between?</div><div><br></div><div>Thanks,</div><div><br></div><div>Andreas</div></body></html>